repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
KDE/ocs-webserver
application/modules/default/models/Ocs/Gitlab/Exception.php
909
<?php /** * ocs-webserver * * Copyright 2016 by pling GmbH. * * This file is part of ocs-webserver. * * 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 versio...
agpl-3.0
HuntedHive/humhub-modules-questionanswer
views/answer/update.php
375
<?php /* @var $this AnswerController */ /* @var $model Answer */ ?> <div class="container"> <div class="row"> <div class="panel panel-default qanda-form"> <div class="panel-body"> <h1>Update Answer <?php echo $model->id; ?></h1> <?php $this->renderPartial('_form', array('model...
agpl-3.0
KWZwickau/KREDA-Sphere
Library/Bootstrap/3.3.4/js/alert.js
2661
/* ======================================================================== * Bootstrap: alert.js v3.3.4 * http://getbootstrap.com/javascript/#alerts * ======================================================================== * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstra...
agpl-3.0
doxel/doxel-website
data/tiger/pmvs_options.tiger.ply_converted/build/shaders/shaders.js
22298
Potree.Shaders["pointcloud.vs"] = [ "", "// the following is an incomplete list of attributes, uniforms and defines", "// which are automatically added through the THREE.ShaderMaterial", "", "//attribute vec3 position;", "//attribute vec3 color;", "//attribute vec3 normal;", "", "//uniform mat4 modelMatrix;", ...
agpl-3.0
bheisig/phonesync
lib/lang.php
566
<?php namespace org\benjaminheisig\phonesync; /** * Translates a value and replaces placeholders. This is a combination of * gettext() and sprintf(). * * @param string $value Value * @param array $args (optional) Replacements * * @return string * * @see gettext() * @see sprintf() */ function gettextf($valu...
agpl-3.0
Seldaiendil/meyeOS
devtools/qooxdoo-1.5-sdk/framework/source/class/qx/ui/layout/Grid.js
40317
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2008 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
agpl-3.0
SoftwareHeritage/swh-web-ui
swh/web/tests/resources/contents/code/extensions/test.py
209
# flake8: noqa def somefunc(param1="", param2=0): r"""A docstring""" if param1 > param2: # interesting print("Gre'ater") return (param2 - param1 + 1) or None class SomeClass: pass
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/medicine/crafted/crafted_stimpack_sm_s1_b.lua
2994
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/structure/city/shuttleport_tatooine.lua
3839
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
invliD/lana-dashboard
lana_dashboard/usermanagement/oidc.py
1268
from django.conf import settings from django.contrib.auth import get_user_model from mozilla_django_oidc.auth import OIDCAuthenticationBackend class AuthenticationBackend(OIDCAuthenticationBackend): def __init__(self, *args, **kwargs): # Only set up OIDC backend if it's actually configured. if getattr(settings, ...
agpl-3.0
empirical-org/Empirical-Core
services/QuillLMS/app/services/clever_integration/sign_up/sub_main.rb
875
# frozen_string_literal: true module CleverIntegration::SignUp::SubMain # we have to send district_success, district_failure, user_success, user_failure back to controller def self.run(auth_hash) case auth_hash[:info][:user_type] when 'district_admin' result = district(auth_hash) when 'student'...
agpl-3.0
juju/juju
upgrades/steps_29_test.go
7659
// Copyright 2020 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package upgrades_test import ( "fmt" "github.com/golang/mock/gomock" "github.com/juju/errors" "github.com/juju/names/v4" jc "github.com/juju/testing/checkers" "github.com/juju/version/v2" gc "gopkg.in/check.v1" "git...
agpl-3.0
nathansamson/CoOrg
coorg/deployment/state.class.php
3323
<?php /* * Copyright 2010 Nathan Samson <nathansamson at gmail dot com> * * This file is part of CoOrg. * * CoOrg 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
yanlsino/enterpriseconnect
connect-web/src/main/java/org/osforce/connect/web/oauth/OAuthController.java
4611
package org.osforce.connect.web.oauth; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpSession; import org.osforce.connect.entity.oauth.Authorization; import org.osforce.connect.entity.system.Site; import org.osforce.connect.entity.system.User; import org.osforce.connect.service.oauth.A...
agpl-3.0
acontes/programming
src/Tests/functionalTests/activeobject/futuremonitoring/TestFutureMonitoring.java
3641
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2012 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
agpl-3.0
abramhindle/UnnaturalCodeFork
python/testdata/launchpad/lib/lp/answers/tests/test_question_webservice.py
8593
# Copyright 2011 Canonical Ltd. This software is licensed under the # GNU Affero General Public License version 3 (see the file LICENSE). """Webservice unit tests related to Launchpad Questions.""" __metaclass__ = type from BeautifulSoup import BeautifulSoup from lazr.restfulclient.errors import HTTPError from simp...
agpl-3.0
overview/overview-server
web/app/controllers/auth/Authority.scala
290
package controllers.auth import scala.concurrent.Future import com.overviewdocs.models.ApiToken import models.User /** Determines whether the given user/apiToken has access. */ trait Authority { def apply(user: User): Future[Boolean] def apply(apiToken: ApiToken): Future[Boolean] }
agpl-3.0
dayatz/taiga-back
taiga/events/__init__.py
993
# -*- coding: utf-8 -*- # Copyright (C) 2014-2017 Andrey Antukh <niwi@niwi.nz> # Copyright (C) 2014-2017 Jesús Espino <jespinog@gmail.com> # Copyright (C) 2014-2017 David Barragán <bameda@dbarragan.com> # Copyright (C) 2014-2017 Alejandro Alonso <alejandro.alonso@kaleidos.net> # This program is free software: you can r...
agpl-3.0
pavlovicnemanja/superdesk-client-core
scripts/apps/contacts/components/Form/ContactFormContainer.tsx
8904
import React from 'react'; import PropTypes from 'prop-types'; import {get, set, isEqual, cloneDeep, some, isEmpty, extend, each, omit, isNil} from 'lodash'; import {gettext} from 'core/utils'; import {StretchBar} from 'core/ui/components/SubNav'; import { validateRequiredFormFields, getContactType, valid...
agpl-3.0
dzc34/Asqatasun
rules/rules-accessiweb2.2/src/test/java/org/asqatasun/rules/accessiweb22/Aw22Rule04011Test.java
3499
/* * Asqatasun - Automated webpage assessment * Copyright (C) 2008-2019 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
deepsrijit1105/edx-platform
lms/djangoapps/grades/tests/test_scores.py
11379
""" Tests for grades.scores module. """ # pylint: disable=protected-access from collections import namedtuple import ddt from django.test import TestCase import itertools from lms.djangoapps.grades.models import BlockRecord import lms.djangoapps.grades.scores as scores from lms.djangoapps.grades.transformer import Gra...
agpl-3.0
gladk/palabos
jlabos/src/plbWrapper/lattice/dynamicsGenerator.hh
1469
/* 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
LitusProject/Litus
module/SportBundle/Component/Controller/RunController.php
1359
<?php namespace SportBundle\Component\Controller; use Laminas\Mvc\MvcEvent; /** * We extend the CommonBundle controller. * * @author Kristof Mariën <kristof.marien@litus.cc> * @author Pieter Maene <pieter.maene@litus.cc> */ class RunController extends \CommonBundle\Component\Controller\ActionController { /*...
agpl-3.0
isard-vdi/isard
authentication/model/user_test.go
2367
package model_test import ( "context" "testing" "gitlab.com/isard/isardvdi/authentication/model" "github.com/stretchr/testify/assert" r "gopkg.in/rethinkdb/rethinkdb-go.v6" ) func TestUserLoad(t *testing.T) { assert := assert.New(t) cases := map[string]struct { PrepareTest func(*r.Mock) User *m...
agpl-3.0
ESOedX/edx-platform
lms/djangoapps/course_blocks/api.py
3854
""" API entry point to the course_blocks app with top-level get_course_blocks function. """ from __future__ import absolute_import from django.conf import settings from edx_when import field_data from openedx.core.djangoapps.content.block_structure.api import get_block_structure_manager from openedx.core.djangoapps.c...
agpl-3.0
dzc34/Asqatasun
rules/rules-rgaa3.2016/src/main/java/org/asqatasun/rules/rgaa32016/Rgaa32016Rule100501.java
1554
/* * Asqatasun - Automated webpage assessment * Copyright (C) 2008-2019 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
jolyonb/edx-platform
common/test/acceptance/tests/discussion/test_cohorts.py
6011
""" Tests related to the cohorting feature. """ from uuid import uuid4 from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc from common.test.acceptance.pages.common.auto_auth import AutoAuthPage from common.test.acceptance.pages.lms.courseware import CoursewarePage from common.test.accep...
agpl-3.0
marcostudios/osu-web
resources/lang/nl/layout.php
5951
<?php /** * Copyright 2016 ppy Pty. Ltd. * * This file is part of osu!web. osu!web is distributed in the hopes of * attracting more community contributions to the core ecosystem of osu! * * osu!web is free software: you can redistribute it and/or modify * it under the terms of the Affero GNU Gene...
agpl-3.0
RealmOfAesir/backend
src/repositories/settings_repository.cpp
2612
/* Realm of Aesir backend Copyright (C) 2016 Michael de Lang 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 l...
agpl-3.0
Chocobozzz/PeerTube
server/lib/activitypub/videos/refresh.ts
2439
import { logger, loggerTagsFactory } from '@server/helpers/logger' import { PeerTubeRequestError } from '@server/helpers/requests' import { VideoLoadByUrlType } from '@server/lib/model-loaders' import { VideoModel } from '@server/models/video/video' import { MVideoAccountLightBlacklistAllFiles, MVideoThumbnail } from '...
agpl-3.0
Implem/Implem.Pleasanter
Implem.DefinitionAccessor/Directories.cs
2800
using Implem.Libraries.Utilities; using System.Collections.Generic; using System.IO; using System.Linq; namespace Implem.DefinitionAccessor { public static class Directories { private const string CodeDefinerDirectoryName = "Implem.CodeDefiner"; private const string DefinitionAccessorDirectoryN...
agpl-3.0
cykod/Webiva-social
app/models/social/friend_notification.rb
1287
class Social::FriendNotification < Message::Notification handle_actions :add_friend,:refuse_friend,:block def add_friend usr = EndUser.find_by_id(msg.data[:from_user_id]) if usr && recipient.to_user SocialFriend.add_friend(usr,recipient.to_user) msg.update_message(:success,{ :name => usr.na...
agpl-3.0
fulldump/8
component/CodeMirrorJavascript/index.js
24318
// TODO actually recognize syntax of TypeScript constructs CodeMirror.defineMode("javascript", function(config, parserConfig) { var indentUnit = config.indentUnit; var statementIndent = parserConfig.statementIndent; var jsonldMode = parserConfig.jsonld; var jsonMode = parserConfig.json || jsonldMode; var isT...
agpl-3.0
EpicCoders/epiclogger
lib/error_store.rb
4307
module ErrorStore def self.create!(request) ErrorStore::Error.new(request: request).create! end def self.find(issue) ErrorStore::Error.new(issue: issue).find end @@interfaces_list = [] def self.find_interfaces Dir[Pathname(File.dirname(__FILE__)).join('error_store/interfaces/*.rb')].each do |p...
agpl-3.0
DrXyzzy/smc
src/test/puppeteer/src/test_sage_ker.ts
4256
const path = require("path"); const this_file: string = path.basename(__filename, ".js"); const debuglog = require("util").debuglog("cc-" + this_file); import chalk from "chalk"; import { Creds, Opts, PassFail, TestFiles } from "./types"; import { time_log2 } from "./time_log"; import screenshot from "./screenshot"; i...
agpl-3.0
colosa/processmaker
resources/assets/js/home/main.js
2384
import Vue from "vue"; import VueRouter from "vue-router"; import VueSidebarMenu from "vue-sidebar-menu"; import VueI18n from 'vue-i18n'; import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'; import { ServerTable, Event, ClientTable } from 'vue-tables-2'; import VtTableHeadingCustom from './../components/vue...
agpl-3.0
denkbar/djigger
client-ui/src/main/java/io/djigger/aggregation/Aggregation.java
1608
/******************************************************************************* * (C) Copyright 2016 Jérôme Comte and Dorian Cransac * * This file is part of djigger * * djigger is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published b...
agpl-3.0
iCloudWorkGroup/fengniao
js/entrance/sheet/getpointbyposi.js
568
'use strict'; define(function(require) { var Backbone = require('lib/backbone'), getPointByPosi; getPointByPosi = function(sheetId, mouseColPosi, mouseRowPosi) { var result = {}; var getResult = function() { return function(callback) { result.point = callback; }; }; Backbone.trigger('event:cellsC...
agpl-3.0
alabs/nolotiro.org
test/routing/legacy_routing_test.rb
5395
# frozen_string_literal: true require "test_helper" require "support/routing" require "support/web_mocking" class LegacyRoutingTest < ActionDispatch::IntegrationTest include Routing include WebMocking before do @ad = create(:ad) @user = create(:user) @another_user = create(:user) @admin = creat...
agpl-3.0
splicemachine/spliceengine
db-engine/src/main/java/com/splicemachine/db/iapi/sql/dictionary/DefaultDescriptor.java
7168
/* * 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) any later version. * Splice Machine is distributed i...
agpl-3.0
estimancy/projestimate
vendor/gems/ge/app/controllers/ge/ge_models_controller.rb
5837
# encoding: UTF-8 ############################################################################# # # Estimancy, Open Source project estimation web application # Copyright (c) 2014 Estimancy (http://www.estimancy.com) # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
agpl-3.0
pbouillet/inspectIT
inspectIT/src/info/novatec/inspectit/rcp/repository/CmrRepositoryDefinition.java
12906
package info.novatec.inspectit.rcp.repository; import info.novatec.inspectit.cmr.service.ICmrManagementService; import info.novatec.inspectit.cmr.service.IConfigurationInterfaceService; import info.novatec.inspectit.cmr.service.IExceptionDataAccessService; import info.novatec.inspectit.cmr.service.IGlobalDataAccessSer...
agpl-3.0
RussWhitehead/HPCC-Platform
ecl/hqlcpp/hqlresource.hpp
2050
/*############################################################################## Copyright (C) 2011 HPCC Systems. All rights reserved. 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
mtucker6784/snipe-it
resources/lang/sr-CS/admin/asset_maintenances/table.php
204
<?php return [ 'title' => 'Održavanje imovine', 'asset_name' => 'Naziv imovine', 'is_warranty' => 'Garancija', 'dl_csv' => 'Download CSV', ];
agpl-3.0
crowdAI/crowdai
app/models/views/challenge_registrations.rb
148
class ChallengeRegistration < SqlView self.primary_key = :id after_initialize :readonly! belongs_to :challenge belongs_to :participant end
agpl-3.0
AjuntamentdeBarcelona/decidim-barcelona
db/migrate/20170128115616_make_user_group_fields_optional.rb
214
class MakeUserGroupFieldsOptional < ActiveRecord::Migration[5.0] def change change_column_null :decidim_user_groups, :document_number, true change_column_null :decidim_user_groups, :phone, true end end
agpl-3.0
okfn/ckanext-panama
ckanext/panama/helpers.py
860
from pylons import config from ckan.plugins import toolkit from ckan.lib import search import logging log = logging.getLogger(__name__) def get_default_locale(): return config.get('ckan.locale_default', 'en') def get_extra_exclude_fields(): return ['fluent_notes', 'fluent_title', 'fluent_name'...
agpl-3.0
ComPlat/chemotion_ELN
lib/datacollector/foldercollector.rb
3059
# frozen_string_literal: true require 'zip' # Collector: folder inspection and collection class Foldercollector < Fcollector FCOLL = 'folder' private def sleep_seconds(device) 30 || Rails.configuration.datacollectors.services && (Rails.configuration.datacollectors.services.find { |e| e[:name...
agpl-3.0
kamax-io/mxisd
src/main/java/io/kamax/mxisd/backend/wordpress/WordpressAuthProvider.java
2303
/* * mxisd - Matrix Identity Server Daemon * Copyright (C) 2018 Kamax Sàrl * * https://www.kamax.io/ * * 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 * L...
agpl-3.0
kingjan1999/mail
l10n/fi.js
9911
OC.L10N.register( "mail", { "Mail" : "Sähköposti", "Auto detect failed. Please use manual mode." : "Automaattinen havaitseminen epäonnistui. Käytä manuaalitilaa.", "Updating account failed: " : "Tilin päivittäminen epäonnistui:", "Creating account failed: " : "Tilin luominen epäonnistui:", "...
agpl-3.0
appsembler/edx-platform
lms/djangoapps/certificates/tests/test_api.py
32358
"""Tests for the certificates Python API. """ import uuid from contextlib import contextmanager from datetime import datetime, timedelta import unittest import ddt import pytz import six from config_models.models import cache from django.conf import settings from django.test import RequestFactory, TestCase from djang...
agpl-3.0
minh10huy/HiringBossCRM
include/connectors/sources/default/source.php
15841
<?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 ...
agpl-3.0
ErikPel/notes
l10n/sr.php
453
<?php $TRANSLATIONS = array( "Notes" => "Белешке", "New note" => "Нова белешка", "Note is currently saving. Leaving " => "Белешка се тренутно снима. Излазим", "_%n word_::_%n words_" => array("%n реч","%n речи","%n речи"), "Delete note" => "Обриши белешку" ); $PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? ...
agpl-3.0
ecreall/lagendacommun
lac/graphql/schema.py
17979
import datetime from functools import lru_cache import pytz import graphene from graphene import relay from graphene.core.classtypes.scalar import Scalar from graphene.utils import LazyList from graphql.core.language import ast from graphql_relay.connection.arrayconnection import cursor_to_offset import graphene.core.t...
agpl-3.0
NicolasEYSSERIC/Silverpeas-Components
kmelia/kmelia-ejb/src/main/java/com/stratelia/webactiv/kmelia/control/ejb/KmeliaBmEJB.java
204957
/** * Copyright (C) 2000 - 2011 Silverpeas * * 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. * * As a spe...
agpl-3.0
diqube/diqube
diqube-data/src/test/java/org/diqube/data/types/lng/compression/RunLengthWithBitEfficientRatioTest.java
3955
/** * diqube: Distributed Query Base. * * Copyright (C) 2015 Bastian Gloeckle * * This file is part of diqube. * * diqube 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
guerrerocarlos/fiware-IoTAgent-Cplusplus
src/thinkingthings/TTService.cpp
15737
/** * Copyright 2015 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of iotagent project. * * iotagent 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
ByersHouse/crmwork
cache/smarty/templates_c/%%F9^F9D^F9DE01E7%%DetailView.tpl.php
3407
<?php /* Smarty version 2.6.29, created on 2017-10-10 17:32:58 compiled from include/SugarFields/Fields/Float/DetailView.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('function', 'sugarvar', 'include/SugarFields/Fields/Float/Det...
agpl-3.0
coder-molok/foowd_alpha2
mod_elgg/foowd_theme/assets/grid-loading/js/AnimOnScroll.js
10228
/** * animOnScroll.js v1.0.0 * http://www.codrops.com * * Licensed under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Copyright 2013, Codrops * http://www.codrops.com * * Versione dello script modificata al fine di concedere maggiore interazione con Masonry */ ;( function( windo...
agpl-3.0
flyingSkull/shopware
engine/Shopware/Plugins/Community/Frontend/SatzBrands/Meta.php
1476
<?php return array( 'version' => $this->getVersion(), 'autor' => 'Satzmedia GmbH', 'copyright' => 'Copyright ' . '@' . ' 2013, Satzmedia GmbH', 'label' => $this->getLabel(), 'source' => 'Community', 'description' => '<table style="border: solid 2px #00b4ec; width: 100%; padding: 7px 0p...
agpl-3.0
cejebuto/OrfeoWind
adodb/session/adodb-cryptsession.php
591
<?php /* V4.01 23 Oct 2003 (c) 2000-2004 John Lim (jlim@natsoft.com.my). All rights reserved. Contributed by Ross Smith (adodb@netebb.com). 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....
agpl-3.0
CompassionCH/compassion-modules
message_center_compassion/controllers/__init__.py
48
from . import json_request from . import onramp
agpl-3.0
jonathanf/swarm
swarm_extraction/extraction.py
2579
# # Copyright (C) 2015 Jonathan Finlay <jfinlay@riseup.net> # # 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 la...
agpl-3.0
cozy-labs/cozy-desktop
core/ignore.js
7020
/** Ignored files/directories handling. * * Cozy-desktop can ignore some files and folders with a `.cozyignore` file. This * file is read only at the startup of Cozy-desktop. So, if this file is * modified, cozy-desktop has to be relaunched for the changes to be effective. * * There 4 places where ignoring files ...
agpl-3.0
akvo/akvo-rsr
akvo/rsr/front-end/scripts-src/my-results/reducers/pageReducer.js
498
/* Akvo RSR is covered by the GNU Affero General Public License. See more details in the license.txt file located at the root folder of the Akvo RSR module. For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >. */ import * as c from "../const"; export default ...
agpl-3.0
harrowio/harrow
frontend/app/scripts/vendor/ui-router-history.js
1112
angular.module("ui.router.history", [ "ui.router" ]).service("$history", function($state, $rootScope, $window) { var history = []; angular.extend(this, { push: function(state, params) { history.push({ state: state, params: params }); }, all: function() { return history; }, go: fu...
agpl-3.0
ontohub/ontohub
db/migrate/20150715081870_create_sine_symbol_axiom_triggers.rb
854
class CreateSineSymbolAxiomTriggers < ActiveRecord::Migration def change create_table :sine_symbol_axiom_triggers do |t| t.references :axiom_selection t.references :symbol t.references :axiom t.float :tolerance t.timestamps end add_index :sine_symbol_axiom_triggers, :axiom_s...
agpl-3.0
cpennington/edx-platform
lms/djangoapps/courseware/views/index.py
28826
""" View for Courseware Index """ # pylint: disable=attribute-defined-outside-init import logging import six import six.moves.urllib as urllib # pylint: disable=import-error import six.moves.urllib.error # pylint: disable=import-error import six.moves.urllib.parse # pylint: disable=import-error import six.moves....
agpl-3.0
kinnou02/navitia
source/jormungandr/jormungandr/autocomplete/geocodejson.py
13686
# coding=utf-8 # Copyright (c) 2001-2016, Canal TP and/or its affiliates. All rights reserved. # # This file is part of Navitia, # the software to build cool stuff with public transport. # # Hope you'll enjoy and contribute to this project, # powered by Canal TP (www.canaltp.fr). # Help us simplify mobility an...
agpl-3.0
michaelletzgus/nextcloud-server
settings/ajax/setquota.php
2916
<?php /** * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @author Bart Visscher <bartv@thisnet.nl> * @author Björn Schießle <bjoern@schiessle.org> * @author Christopher Schäpers <kondou@ts.unde.re> * @author Felix Moeller <mail@felixmoeller.de> * @author G...
agpl-3.0
paulmartel/voltdb
tests/frontend/org/voltdb/TestRoutingEdgeCases.java
4473
/* This file is part of VoltDB. * Copyright (C) 2008-2016 VoltDB Inc. * * 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...
agpl-3.0
gspringtech/pekoe-form
lib/ckeditor/config.js
1982
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. // For complete reference see: // http://docs.ckeditor.com/#!/...
agpl-3.0
bet0x/pipecode
post/user/journal/write.php
1422
<? // // Pipecode - distributed social network // Copyright (C) 2014-2015 Bryan Beicker <bryan@pipedot.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 /...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/talus/docile_kahmurra.lua
822
docile_kahmurra = Creature:new { objectName = "@mob/creature_names:docile_kahmurra", socialGroup = "self", faction = "", level = 10, chanceHit = 0.28, damageMin = 80, damageMax = 90, baseXp = 292, baseHAM = 1000, baseHAMmax = 1200, armor = 0, resists = {0,0,110,0,0,0,0,-1,-1}, meatType = "meat_herbivore", ...
agpl-3.0
lis-epfl/qgroundcontrol
src/ui/designer/QGCParamSlider.cc
19263
#include <QMenu> #include <QContextMenuEvent> #include <QSettings> #include <QTimer> #include <QToolTip> #include <QDebug> #include "QGCParamSlider.h" #include "ui_QGCParamSlider.h" #include "UASInterface.h" #include "UASManager.h" QGCParamSlider::QGCParamSlider(QWidget *parent) : QGCToolWidgetItem("Slider", par...
agpl-3.0
metrodango/pip3line
defaultplugins/baseplugins/sha3_384.cpp
926
/** Released as open source by Gabriel Caudrelier Developed by Gabriel Caudrelier, gabriel dot caudrelier at gmail dot com https://github.com/metrodango/pip3line Released under AGPL see LICENSE for more information **/ #include "sha3_384.h" #include <QCryptographicHash> const QString Sha3_384::id = "S...
agpl-3.0
mcosand/KCSARA-database-foo
src/Website/Api/Models/Document.cs
517
/* * Copyright (c) 2013 Matt Cosand */ namespace Kcsar.Database.Website.Api.Models { using System; public class Document { public Guid Id { get; set; } public string Type { get; set; } public Guid Reference { get; set; } public string Title { get; set; } public int Siz...
agpl-3.0
Trustroots/trustroots
modules/users/client/components/BlockedMemberBanner.component.js
872
/** * Banner that describes that user is blocked */ import '@/config/client/i18n'; import { useTranslation } from 'react-i18next'; import PropTypes from 'prop-types'; import React from 'react'; import BlockMember from './BlockMember.component'; import ReportMember from '@/modules/support/client/components/ReportMem...
agpl-3.0
unitystation/unitystation
UnityProject/Assets/Scripts/UI/Items/PDA/GUI_PDAMainMenu.cs
1716
using System; using UnityEngine; using UI.Core.NetUI; namespace UI.Items.PDA { public class GUI_PDAMainMenu : NetPage, IPageReadyable { [SerializeField] private GUI_PDA controller = null; [SerializeField] private NetLabel idLabel = null; [SerializeField] private NetLabel lightLabel = null; private IDCard I...
agpl-3.0
Terradue/DotNetOpenSearch
Terradue.OpenSearch.Test/CacheTest.cs
1733
using System; using log4net.Config; using System.IO; using Terradue.OpenSearch.Engine; using Terradue.OpenSearch.Filters; using System.Collections.Specialized; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Linq; using log4net; using System.Reflection; using Xunit;...
agpl-3.0
fossaag/rolp
test/org/fossa/vaadin/test/laso/AllLasoTests.java
251
package org.fossa.vaadin.test.laso; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({ FossaLasoTest.class }) public class AllLasoTests { }
agpl-3.0
myplaceonline/myplaceonline_rails
app/models/hotel.rb
640
class Hotel < ApplicationRecord include MyplaceonlineActiveRecordIdentityConcern include AllowExistingConcern child_property(name: :location, required: true) def display result = location.display_really_simple #result = Myp.appendstr(result, room_number.to_s, nil, " (" + I18n.t("myplaceonline.hotels...
agpl-3.0
vodkina/GlobaLeaks
backend/globaleaks/tests/handlers/test_token.py
2081
# -*- encoding: utf-8 -*- from twisted.internet.defer import inlineCallbacks from globaleaks.anomaly import Alarm from globaleaks.handlers import token from globaleaks.tests import helpers from globaleaks.utils.token import Token from globaleaks.rest import errors from globaleaks.settings import GLSettings class Test...
agpl-3.0
tickbox-smc-ltd/xfero
src/xfero/test/test_manage_partner.py
27931
#!/usr/bin/env python ''' Test Manage Partner''' import unittest import configparser import os import sqlite3 as lite from /xfero/.db import manage_partner as db_partner from /xfero/.db import create_XFERO_DB as db class Test(unittest.TestCase): ''' **Purpose:** Unit Test class for the function ```crud...
agpl-3.0
davecheney/juju
apiserver/service/service.go
17650
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. // Package service contains api calls for functionality // related to deploying and managing services and their // related charms. package service import ( "github.com/juju/errors" "github.com/juju/loggo" "github.com/juju/...
agpl-3.0
marius-wieschollek/passwords
src/lib/EventListener/Tag/BeforeTagDeletedListener.php
1352
<?php /* * @copyright 2020 Passwords App * * @author Marius David Wieschollek * @license AGPL-3.0 * * This file is part of the Passwords App * created by Marius David Wieschollek. */ namespace OCA\Passwords\EventListener\Tag; use Exception; use OCA\Passwords\Events\Tag\BeforeTagDeletedEvent; use OCA\Passwords...
agpl-3.0
tochman/onebody
spec/requests/sign_in_spec.rb
2524
require_relative '../rails_helper' describe 'SignIn', type: :request do before do @user = FactoryGirl.create(:person) Setting.set(nil, 'Features', 'SSL', true) end context 'given sign in with wrong email address' do before do post '/session', email: 'bad-email', password: 'bla' end it...
agpl-3.0
brainsqueezer/fffff
branches/version5/www/libs/tags.php
2330
<?php // The source code packaged with this file is Free Software, Copyright (C) 2005 by // Ricardo Galli <gallir at uib dot es>. // It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise. // You can get copies of the licenses here: // http://www.affero.org/oagpl.html // AFFERO GENERAL PUBLIC L...
agpl-3.0
malikov/platform-android
ushahidi/src/main/java/com/ushahidi/android/presentation/state/ReloadPostEvent.java
1414
/* * 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
openfisca/openfisca-france-data
openfisca_france_data/erfs/__init__.py
1045
def get_of2erf(year=None): of2erf = dict() of2erf["csg"] = "csgim" # imposable, et "csgdm", déductible #of2erf["csgd"] = "csgdm" of2erf["crds"] = "crdsm" of2erf["irpp"] = "zimpom" of2erf["ppe"] = "m_ppem" of2erf["af"] = "m_afm" #af_base #af_majo #af_forf of2erf["cf"] = "m_cfm" of2erf["...
agpl-3.0
jittat/ku-eng-direct-admission
scripts/import_results_for_public_display.py
2552
import codecs import sys if len(sys.argv)!=3: print "Usage: import_results [result_set_id] [results.csv]" quit() result_set_id = int(sys.argv[1]) if result_set_id==0: print "Result set id error" quit() file_name = sys.argv[2] from django.conf import settings from django_bootstrap import bootstrap bo...
agpl-3.0
gangadhar-kadam/sapphire_app
accounts/page/general_ledger/general_ledger.js
13127
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. // License: GNU General Public License v3. See license.txt wn.pages['general-ledger'].onload = function(wrapper) { wn.ui.make_app_page({ parent: wrapper, title: 'General Ledger', single_column: true }); erpnext.general_ledger = new erpnext.GeneralLedg...
agpl-3.0
xakutin/deTapeo
www/user.php
1451
<?php // +-----------------------------------------------------------+ // | The source code packaged with this file is Free Software, | // | licensed under the AFFERO GENERAL PUBLIC LICENSE. | // | Please see: | // | http://www.affero.org/oagpl.html for more infor...
agpl-3.0
d120/kifplan
kiffelverwaltung/settings.py
5077
""" Django settings for kiffelverwaltung project. Generated by 'django-admin startproject' using Django 1.8.5. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # B...
agpl-3.0
o2oa/o2oa
o2server/x_cms_assemble_control/src/main/java/com/x/cms/assemble/control/jaxrs/appinfo/ActionListWhatICanViewAllDocType.java
3026
package com.x.cms.assemble.control.jaxrs.appinfo; import com.x.base.core.project.cache.Cache; import com.x.base.core.project.cache.CacheManager; import com.x.base.core.project.http.ActionResult; import com.x.base.core.project.http.EffectivePerson; import com.x.base.core.project.logger.Logger; import com.x.base.core.pr...
agpl-3.0
ULYSSIS-KUL/ipp
shared/src/main/java/org/ulyssis/ipp/control/commands/AddTagCommand.java
2382
/* * Copyright (C) 2014-2015 ULYSSIS VZW * * This file is part of i++. * * i++ is free software: you can redistribute it and/or modify * it under the terms of version 3 of the GNU Affero General Public License * as published by the Free Software Foundation. No other versions apply. * * This program is distri...
agpl-3.0
colares/touke-flow
Packages/Framework/TYPO3.Flow/Tests/Unit/Utility/SchemaValidatorTest.php
27397
<?php namespace TYPO3\Flow\Tests\Unit\Utility; /* * * This script belongs to the TYPO3 Flow framework. * * * * It is free software; you can redistribute...
agpl-3.0
cpennington/edx-platform
lms/djangoapps/courseware/tests/test_views.py
151929
# coding=UTF-8 """ Tests courseware views.py """ import itertools import json import unittest from datetime import datetime, timedelta from pytz import utc from uuid import uuid4 import crum import ddt import six from completion.test_utils import CompletionWaffleTestMixin from crum import set_current_request from dj...
agpl-3.0
aceat64/Taskr
src/Model/Table/GiftsTable.php
2098
<?php namespace App\Model\Table; use Cake\ORM\Query; use Cake\ORM\RulesChecker; use Cake\ORM\Table; use Cake\Validation\Validator; /** * Gifts Model */ class GiftsTable extends Table { /** * Initialize method * * @param array $config The configuration for the Table. * @return void */ ...
agpl-3.0
klette/comics
comics/comics/perrybiblefellowship.py
393
from comics.aggregator.crawler import CrawlerBase from comics.meta.base import MetaBase class Meta(MetaBase): name = 'The Perry Bible Fellowship' language = 'en' url = 'http://www.pbfcomics.com/' active = False start_date = '2001-01-01' rights = 'Nicholas Gurewitch' class Crawler(CrawlerBase):...
agpl-3.0