code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
<?php class sfGuardGroupUtf8Table extends sfGuardGroupTable { public static function getInstance() { return Doctrine_Core::getTable('sfGuardGroupUtf8'); } }
simonoche/wterritoires
lib/model/doctrine/sfGuardGroupUtf8Table.class.php
PHP
agpl-3.0
183
<?php require_once("conf.php"); $text = $head; $text .= $body; $text .= menu(""); $text .= main(); $text .= $foot; echo gzipoutput($text); // =========================================================================== function main() { global $email, $pass, $pass2, $mysql_db, $name; if (($email != "") and ($...
jbreitbart/priceguard_classic
branches/first/anmelden.php
PHP
agpl-3.0
4,179
import * as React from 'react'; import _ from 'lodash'; import { civicSortValue, DEFAULT_ANNOTATION_DATA, GenericAnnotation, IAnnotation, USE_DEFAULT_PUBLIC_INSTANCE_FOR_ONCOKB, oncoKbAnnotationSortValue, } from 'react-mutation-mapper'; import { CancerStudy, StructuralVariant } from 'cbioportal-...
cBioPortal/cbioportal-frontend
src/pages/patientView/structuralVariant/column/AnnotationColumnFormatter.tsx
TypeScript
agpl-3.0
9,418
# frozen_string_literal: true require 'rails_helper' RSpec.describe 'repository/tag query' do let(:context) { {} } let(:query_string) do <<-QUERY query ($repositoryId: ID!, $name: String!) { repository(id: $repositoryId) { tag(name: $name) { name target { id ...
ontohub/ontohub-backend
spec/graphql/queries/repository/tag_query_spec.rb
Ruby
agpl-3.0
1,684
<?php /* Question2Answer (c) Gideon Greenspan http://www.question2answer.org/ File: qa-include/qa-ajax-version.php Version: See define()s at top of qa-include/qa-base.php Description: Server-side response to Ajax version check requests This program is free software; you can redistribute it and...
teleiakaipavla/diafthoratelos.gr
php/wordpress/qa/qa-include/qa-ajax-version.php
PHP
agpl-3.0
2,412
# -*- coding: utf-8 -*- import os.path import posixpath import re import urllib from docutils import nodes from sphinx import addnodes, util from sphinx.locale import admonitionlabels def _parents(node): while node.parent: node = node.parent yield node class BootstrapTranslator(nodes.NodeVisitor...
xujb/odoo
doc/_extensions/odoo/translator.py
Python
agpl-3.0
26,143
"""Laposte XML -> Python.""" from datetime import datetime from lxml import objectify from ...codec import DecoderGetLabel from ...codec import DecoderGetPackingSlip import base64 class _UNSPECIFIED: pass def _get_text(xml, tag, default=_UNSPECIFIED): """ Returns the text content of a tag to avoid retu...
akretion/roulier
roulier/carriers/laposte_fr/decoder.py
Python
agpl-3.0
4,729
"""alloccli subcommand for editing alloc reminders.""" from alloc import alloc import re class reminder(alloc): """Add or edit a reminder.""" # Setup the options that this cli can accept ops = [] ops.append(('', 'help ', 'Show this help.')) ops.append(('q', 'quiet ', 'Run with...
mattcen/alloc
bin/alloccli/reminder.py
Python
agpl-3.0
3,917
import React from 'react'; import { DragSource, DropTarget } from 'react-dnd'; import { compose } from 'redux'; import DragDropItemTypes from './DragDropItemTypes'; import { HeaderDeleted, HeaderNormal } from './SampleDetailsContainersAux'; const orderSource = { beginDrag(props) { const { container, sample } = p...
ComPlat/chemotion_ELN
app/packs/src/components/SampleDetailsContainersDnd.js
JavaScript
agpl-3.0
2,510
<?php /** * @author Jaap Jansma <jaap.jansma@civicoop.org> * @license AGPL-3.0 */ class CRM_Oppgavexml_LoadQueue { const QUEUE_NAME = 'no.maf.oppgavexml.load.queue'; private $queue; static $singleton; /** * @return CRM_Queuehowto_Helper */ public static function singleton() { if (!self::$sing...
CiviCooP/no.maf.oppgavexml
CRM/Oppgavexml/LoadQueue.php
PHP
agpl-3.0
716
# -*- coding: utf-8 -*- # (c) 2017 Daniel Campos - AvanzOSC # (c) 2017 Alfredo de la Fuente - AvanzOSC # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from openerp import fields, models, api, exceptions, _ import base64 import cStringIO import tempfile import csv class ImportPriceFile(models.Transien...
esthermm/odoo-addons
product_supplierinfo_import/wizard/import_price_files.py
Python
agpl-3.0
6,282
package gdev.gawt; import gdev.gawt.utils.ItemList; import gdev.gen.AssignValueException; import gdev.gen.IComponentData; import gdev.gen.IComponentListener; import gdev.gen.NotValidValueException; import gdev.gfld.GFormEnumerated; import gdev.gfld.GFormField; import java.awt.Dimension; import java.awt.Font; import j...
semantic-web-software/dynagent
Elecom/src/gdev/gawt/GListBox.java
Java
agpl-3.0
26,370
var round = function(number, increment, offset) { return Math.ceil((number - offset) / increment) * increment + offset; }; Partup.client.chatmessages = { groupByDelay: function(messages, options) { var delay = options.seconds ? options.seconds * 1000 : 1000; var outputArray = []; messag...
part-up/part-up
app/packages/partup-client-base/client/chatmessages.js
JavaScript
agpl-3.0
2,893
/* * DataCruncher * Copyright (c) Mario Altimari. 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 Foundation, either version 3 of the * License, or (at your option) any ...
see-r/SeerDataCruncher
src/main/java/com/datacruncher/datastreams/DatastreamsInput.java
Java
agpl-3.0
18,067
<?php /** * Copyright 2015-2018 ppy Pty. Ltd. * * This file is part of osu!web. osu!web is distributed with the hope 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 G...
kj415j45/osu-web
resources/lang/zh/beatmaps.php
PHP
agpl-3.0
10,212
""" IMAPClient wrapper for the Nilas Sync Engine. """ import contextlib import re import time import imaplib import imapclient # Even though RFC 2060 says that the date component must have two characters # (either two digits or space+digit), it seems that some IMAP servers only # return one digit. Fun times. imaplib.I...
gale320/sync-engine
inbox/crispin.py
Python
agpl-3.0
34,132
class TripPurpose < ApplicationRecord acts_as_paranoid # soft delete has_paper_trail validates :name, presence: true, uniqueness: { :case_sensitive => false, conditions: -> { where(deleted_at: nil) } } def self.by_provider(provider) hidden_ids = HiddenLookupTableValue.hidden_ids self.table_name, provide...
camsys/ridepilot
app/models/trip_purpose.rb
Ruby
agpl-3.0
441
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
kaltura/KalturaGeneratedAPIClientsCsharp
KalturaClient/Types/AccessControlContextTypeHolder.cs
C#
agpl-3.0
2,292
define(function (require) { 'use strict'; var Vector2 = require('vector2-node'); /** * Returns a new unit vector in the direction specified by the angle */ Vector2.fromAngle = function(angle) { return new Vector2(1, 0).rotate(angle); }; Vector2.prototype.toString = function(pr...
Connexions/simulations
common/math/vector2.js
JavaScript
agpl-3.0
731
<?php // require('../config.php'); require('../db_lib.php'); $db = new db(); // If the user clicked one of the buttons if ((isset($_GET['submit'])) || (isset($_GET['prev'])) || (isset($_GET['next']))) { $where = ''; $start_date = htmlspecialchars($_GET['start_date'], ENT_QUOTES); if ($start_date != '...
rolencea/org.civicrm.civisocial2
twitterAPI/civisocialtwitter/report/search_dms.php
PHP
agpl-3.0
2,051
const ERR = require('async-stacktrace'); const _ = require('lodash'); const async = require('async'); const sqldb = require('../prairielib/lib/sql-db'); module.exports = { pages(chosenPage, count, pageSize) { let lastPage = Math.ceil(count / pageSize); if (lastPage === 0) lastPage = 1; let currPage = N...
PrairieLearn/PrairieLearn
lib/paginate.js
JavaScript
agpl-3.0
1,786
# -*- coding: utf-8 -*- ############################################################################### # # Copyright (C) 2013-Today Carlos Eduardo Vercelino - CLVsol # # 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 #...
MostlyOpen/odoo_addons
myo_pharmacy/models/tag.py
Python
agpl-3.0
1,365
<?php namespace Plenty\Modules\ItemSet\Models; /** * The ItemSetConfig model. */ abstract class ItemSetConfig { const CREATED_AT = 'createdAt'; const UPDATED_AT = 'updatedAt'; public $setId; public $rebate; /** * Returns this model as an array. */ public function toArray( ):array { return [];...
plentymarkets/plugin-hack-api
Modules/ItemSet/Models/ItemSetConfig.php
PHP
agpl-3.0
326
<?php # AST_LISTS_stats.php # # Copyright (C) 2014 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2 # # This is a list inventory report, not a calling report. This report will show # statistics for all of the lists in the selected campaigns # # CHANGES # 130926-0721 - First build based upon LISTS campai...
patrickcmartins/goautodialtraduzido
vicidial/AST_LISTS_stats.php
PHP
agpl-3.0
37,059
package org.cbioportal.service.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.cbioportal.model.AlterationCountByGene; import org.cbioportal.model.AlterationEnrichment; import org.cbioportal.model.CopyNumberCountBy...
d3b-center/pedcbioportal
service/src/main/java/org/cbioportal/service/impl/CopyNumberEnrichmentServiceImpl.java
Java
agpl-3.0
5,177
# encoding: utf-8 from __future__ import (absolute_import, division, print_function, unicode_literals) import logging import os.path import sys import ckan.plugins as plugins import ckan.plugins.toolkit as toolkit from ckan.lib.plugins import DefaultTranslation from . import get_config log...
stadt-karlsruhe/ckanext-discovery
ckanext/discovery/plugins/discovery.py
Python
agpl-3.0
999
# - coding: utf-8 -*- ############################################################################## # # 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 # ...
odoo-arg/odoo_l10n_ar
l10n_ar/wizard/__init__.py
Python
agpl-3.0
951
//package com.x.processplatform.assemble.designer.jaxrs.projection; // //import com.x.base.core.container.EntityManagerContainer; //import com.x.base.core.container.factory.EntityManagerContainerFactory; //import com.x.base.core.project.exception.ExceptionAccessDenied; //import com.x.base.core.project.exception.Excepti...
o2oa/o2oa
o2server/x_processplatform_assemble_designer/src/main/java/com/x/processplatform/assemble/designer/jaxrs/projection/ActionEnable.java
Java
agpl-3.0
1,828
define("imcms-templates-tab-builder", [ "imcms-bem-builder", "imcms-components-builder", "imcms-templates-rest-api", "imcms-document-types", "imcms-i18n-texts", "imcms-page-info-tab" ], function (BEM, components, templatesRestApi, docTypes, texts, PageInfoTab) { texts = texts.pageIn...
imCodePartnerAB/imcms
src/main/webapp/imcms/js/builders/components/page_info_tabs/imcms-templates-tab-builder.js
JavaScript
agpl-3.0
2,976
# encoding: utf-8 # Copyright (c) 2001-2014, 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 ...
antoine-de/navitia
source/jormungandr/tests/ptref_tests.py
Python
agpl-3.0
38,313
/* * This file is part of CoCalc: Copyright © 2020 Sagemath, Inc. * License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details */ import { CSS, React } from "smc-webapp/app-framework"; import { FOCUSED_COLOR } from "../util"; import { SlateElement, register, useFocused, useSelected, useSlateStat...
sagemathinc/smc
src/smc-webapp/editors/slate/elements/hashtag.tsx
TypeScript
agpl-3.0
1,639
<?php App::uses('AppModel', 'Model'); class Galaxy extends AppModel { public $useTable = 'galaxies'; public $recursive = -1; public $actsAs = array( 'Containable', ); public $validate = array( ); public $hasMany = array( 'GalaxyCluster' => array('dependent' => true) ...
Rafiot/MISP
app/Model/Galaxy.php
PHP
agpl-3.0
20,693
from django.contrib.auth.decorators import login_required from django.http import Http404 from django.core.urlresolvers import reverse from mitxmako.shortcuts import render_to_response from courseware.access import has_access from courseware.courses import get_course_with_access from notes.utils import notes_enabled_f...
elimence/edx-platform
lms/djangoapps/staticbook/views.py
Python
agpl-3.0
5,555
# -*- coding: utf-8 -*- # Copyright (c) 2012-2015 CoNWeT Lab., Universidad Politécnica de Madrid # This file is part of Wirecloud. # Wirecloud 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 v...
rockneurotiko/wirecloud
src/wirecloud/catalogue/management/commands/addtocatalogue.py
Python
agpl-3.0
5,256
from sst.actions import ( assert_title, fails, wait_for, ) from u1testutils import mail from u1testutils.sst import config from acceptance import helpers config.set_base_url_from_env() PASSWORD = 'Admin007' # 2) Create 2 accounts (A & B). In Account A add email address C and do not # verify. In Account ...
miing/mci_migo
acceptance/tests/emails/doubled_email.py
Python
agpl-3.0
1,736
<?php if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) { define("SERVER_NAME",$_SERVER['HTTP_X_FORWARDED_HOST']); } else { define("SERVER_NAME",$_SERVER['HTTP_HOST']); //.(($_SERVER['SERVER_PORT']!="80")? ":".$_SERVER['SERVER_PORT']:"")); } require_once(dirname(__FILE__)."/../../../../../../clases/class.i.php"); req...
irontec/Mintzatu
public/karma/modules/tablon/scripts/tiny_mce/plugins/advimage/ajax_gallery.php
PHP
agpl-3.0
2,902
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * 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. * * Thi...
AydinSakar/sql-layer
src/main/java/com/foundationdb/server/store/statistics/IndexStatisticsVisitor.java
Java
agpl-3.0
4,030
/* This file is part of VoltDB. * Copyright (C) 2008-2013 VoltDB 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 la...
kobronson/cs-voltdb
src/frontend/org/voltcore/messaging/VoltMessageFactory.java
Java
agpl-3.0
3,216
<?php return array( 'plural' => function($n) { return (($n==1) ? 0 : (($n>=2 && $n<=4) ? 1 : 2)); }, 'attachment' => 'příloha', 'When there is nothing to read, redirect me to this page' => 'Když není nic ke čtení, přesměruj mě na tuto stránku', 'There is nothing new to read, enjoy your favorites articl...
mkresin/miniflux
locales/cs_CZ/translations.php
PHP
agpl-3.0
14,023
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2015 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
Ramkavanan/SHCRM
app/protected/modules/approvalProcess/views/ApprovalProcessForMixedModelsSearchListView.php
PHP
agpl-3.0
4,693
<?php /* Smarty version 2.6.11, created on 2014-09-27 03:20:43 compiled from include/EditView/header.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_button', 'include/EditView/header.tpl', 81, false),array('func...
alishahpakneeds/akbarsugarcrm
cache/smarty/templates_c/%%95^955^955CF478%%header.tpl.php
PHP
agpl-3.0
6,701
<?php /** * HTTP Raw Header Field Validator Class | Validation\HTTP\Headers\Raw.php * * @author Bruno Augusto * * @copyright Copyright (c) 2017 Next Studios * @license http://www.gnu.org/licenses/agpl-3.0.txt GNU Affero General Public License 3.0 */ namespace Next\Validation\HTTP\Headers; use Nex...
nextframework/next
Validation/HTTP/Headers/Raw.php
PHP
agpl-3.0
1,530
<?php /* Smarty version 2.6.11, created on 2014-11-06 21:16:36 compiled from cache/modules/Leads/SearchFormHeader.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'cache/modules/Leads/SearchFormHeader...
SoftNext/secondp
cache/smarty/templates_c/%%E2^E2E^E2EE98C0%%SearchFormHeader.tpl.php
PHP
agpl-3.0
2,421
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer/Ui/Options/Views/OXInfoDialog.xaml.cs
C#
agpl-3.0
1,818
/** * */ /** * @author sergio * */ package bluecrystal.domain.helper;
bluecrystalsign/signer-source
bluecrystal.deps.domain/src/main/java/bluecrystal/domain/helper/package-info.java
Java
agpl-3.0
82
/** * Copyright (C) 2000 - 2012 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...
NicolasEYSSERIC/Silverpeas-Core
ejb-core/versioning/src/test/java/com/stratelia/silverpeas/versioning/AllTests.java
Java
agpl-3.0
1,643
require 'feed-normalizer' require 'open-uri' class FeedPost < ActiveRecord::Base extend PreferencesHelper class << self def update_posts posts = find(:all, :select => "feedid") post_ids = posts.map {|p| p.feedid} begin feed = FeedNormalizer::FeedNormalizer.parse open(global_prefs.b...
austintimeexchange/oscurrency
app/models/feed_post.rb
Ruby
agpl-3.0
998
package jcog.pri.bag; import jcog.Util; import jcog.data.list.FasterList; import jcog.pri.*; import jcog.pri.bag.impl.ArrayBag; import jcog.pri.bag.impl.HijackBag; import jcog.pri.bag.impl.PriReferenceArrayBag; import jcog.pri.bag.impl.hijack.DefaultHijackBag; import jcog.random.XoRoShiRo128PlusRandom; import jcog.sig...
automenta/narchy
util/src/test/java/jcog/pri/bag/BagTest.java
Java
agpl-3.0
10,149
import { Component } from '@angular/core'; import { AuthService } from './login/auth.service'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'app'; mostrarMenu: boolean = false; constructor(private authServ...
ricardoroberto/TesteGrpLTM
FrontEnd/Estoque.Front/src/app/app.component.ts
TypeScript
agpl-3.0
470
#include "variableswidget.h" #include "ui_variableswidget.h" #include "desktoputils.h" #include "variablespage/variablestablemodel.h" #include <QModelIndexList> #include <boost/foreach.hpp> #include <algorithm> #include <QDebug> VariablesWidget::VariablesWidget(QWidget *parent) : QWidget(parent), ui(new Ui::Varia...
aknight1-uva/jasp-desktop
JASP-Desktop/variableswidget.cpp
C++
agpl-3.0
3,776
""" Views related to course groups functionality. """ from django.views.decorators.csrf import ensure_csrf_cookie from django.views.decorators.http import require_POST from django.contrib.auth.models import User from django.core.paginator import Paginator, EmptyPage from django.core.urlresolvers import reverse from dj...
romain-li/edx-platform
openedx/core/djangoapps/course_groups/views.py
Python
agpl-3.0
19,604
/* * GCWBaseContainerComponent.cpp * * Created on: Jan 24, 2013 * Author: root */ #include "GCWBaseContainerComponent.h" #include "templates/params/creature/CreatureFlag.h" bool GCWBaseContainerComponent::checkContainerPermission(SceneObject* sceneObject, CreatureObject* creature, uint16 permission) const ...
Tatwi/legend-of-hondo
MMOCoreORB/src/server/zone/objects/building/components/GCWBaseContainerComponent.cpp
C++
agpl-3.0
4,046
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 The Collaborative Software Foundation # # This file is part of TriSano. # # TriSano 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...
csinitiative/trisano
webapp/features/enhanced_step_definitions/event_steps.rb
Ruby
agpl-3.0
7,381
/* */ /* * Copyright (C) 2015-present ScyllaDB * * Modified by ScyllaDB */ /* * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once #include <iostream> namespace db { enum class read_repair_decision { NONE, GLOBAL, DC_LOCAL }; inline std::ostream& operator<<(std::ostream& ou...
scylladb/scylla
db/read_repair_decision.hh
C++
agpl-3.0
632
/* Copyright (C) 2007-2017 Patrick G. Durand * * 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. * * Yo...
pgdurand/BeeDeeM
src/bzh/plealog/dbmirror/lucenedico/go/GeneOntologyOBONodeParser.java
Java
agpl-3.0
15,713
#coding:utf-8 from openerp.osv import osv,fields class rainsoft_stock_return(osv.Model): _inherit='stock.return.picking' _defaults={ 'invoice_state': '2binvoiced', }
kevin8909/xjerp
openerp/addons/Rainsoft_Xiangjie/rainsoft_stock_return.py
Python
agpl-3.0
185
<?php /* * Copyright 2007-2015 Abstrium <contact (at) pydio.com> * This file is part of Pydio. * * Pydio 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 ...
ChuckDaniels87/pydio-core
core/src/plugins/core.ocs/src/ActionsController.php
PHP
agpl-3.0
6,752
using System; using BricksDb.RedisInterface.BriksCommunication; using BricksDb.RedisInterface.RedisOperations; using Qoollo.Client.Configuration; using Qoollo.Client.Support; namespace BricksDb.RedisInterface.Server { class RedisToBriks : RedisToSmthSystem { private readonly RedisGate _redis...
qoollo/bricksdb
src/BriksDb.RedisInterface/Server/RedisToBriks.cs
C#
agpl-3.0
1,543
/* This file is part of ContentManager. ContentManager 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 3 of the License, or (at your option) any later version. ContentManager is distributed ...
siddharthadeshpande89/jive-content-manager
apps/content_manager/public/javascripts/helpers/messageViewHandler.js
JavaScript
agpl-3.0
2,511
var origShow = jQuery.fn.show, origHide = jQuery.fn.hide; jQuery.fn.show = function() { $(this).removeClass("hidden"); return origShow.apply(this, arguments); }; jQuery.fn.hide = function() { $(this).addClass("hidden"); return origHide.apply(this, arguments); }; $.ajaxSetup({ cache: false }); func...
kolplex/cunity
style/CunityRefreshed/javascript/cunity-core.js
JavaScript
agpl-3.0
14,280
# -*- coding: utf-8; -*- # # This file is part of Superdesk. # # Copyright 2013, 2014 Sourcefabric z.u. and contributors. # # For the full copyright and license information, please see the # AUTHORS and LICENSE files distributed with this source code, or # at https://www.sourcefabric.org/superdesk/license import loggi...
hlmnrmr/superdesk-core
apps/archive_history/service.py
Python
agpl-3.0
3,708
# encoding: utf-8 require './test/test_helper' describe ArtistasController do let(:artista) { create(:artista) } describe 'anónimamente' do it 'accede al index' do get :index must_respond_with :success assigns(:artistas).wont_be_nil end it 'muestra un artista' do get :show, i...
mauriciopasquier/bibliotecadeleter
test/controllers/artistas_controller_test.rb
Ruby
agpl-3.0
1,366
/* Code for Life Copyright (C) 2015, Ocado Innovation Limited 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 pro...
mikebryant/rapid-router
game/static/game/js/blocklyCustomBlocks.js
JavaScript
agpl-3.0
20,655
<?php /** * Copyright 2015-2018 ppy Pty. Ltd. * * This file is part of osu!web. osu!web is distributed with the hope 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 G...
kj415j45/osu-web
resources/lang/pt/model_validation.php
PHP
agpl-3.0
5,767
package org.rakam.report; import com.facebook.presto.sql.tree.*; import org.rakam.util.ValidationUtil; import java.util.Optional; import java.util.function.Function; import static com.facebook.presto.sql.tree.LogicalBinaryExpression.Type.AND; import static com.facebook.presto.sql.tree.LogicalBinaryExpression.Type.OR...
buremba/rakam
rakam-spi/src/main/java/org/rakam/report/PreComputedTableSubQueryVisitor.java
Java
agpl-3.0
7,236
# -*- coding: utf-8; -*- # # This file is part of Superdesk. # # Copyright 2013, 2014 Sourcefabric z.u. and contributors. # # For the full copyright and license information, please see the # AUTHORS and LICENSE files distributed with this source code, or # at https://www.sourcefabric.org/superdesk/license import loggi...
marwoodandrew/superdesk-core
content_api/publish/service.py
Python
agpl-3.0
6,723
package android.support.design.widget; import android.content.Context; import android.content.res.TypedArray; import android.support.design.c; final class by { private static final int[] a = new int[]{c.colorPrimary}; static void a(Context context) { int i = 0; TypedArray obtainStyledAttribut...
WenbinHou/PKUAutoGateway.Android
Reference/IPGWAndroid/android/support/design/widget/by.java
Java
agpl-3.0
714
module Puppetdb class Nodes < Struct.new(:urls) def all filter = IDB.config.puppetdb.filter.blank? ? nil : Regexp.new(IDB.config.puppetdb.filter) nodes = [] # Try to find machines in all puppetdb servers. urls.each do |url| api = Puppetdb::Api.new(url) data = api.get('/v3/...
fkr/the-idb
app/core/puppetdb/nodes.rb
Ruby
agpl-3.0
903
/* * The Exomiser - A tool to annotate and prioritize genomic variants * * Copyright (c) 2016-2020 Queen Mary University of London. * Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd. * * This program is free software: you can redistribute it and/or modify * it under the terms o...
exomiser/Exomiser
exomiser-core/src/test/java/org/monarchinitiative/exomiser/core/genome/GeneFactoryTest.java
Java
agpl-3.0
2,339
<?php class Search { public static function matchTerm($term, $text) { $reg = "/[ ]+/"; $text = self::normalize($text); $term = self::normalize($term); $words_text = preg_split($reg, $text); $words_term = preg_split($reg, $term); $text_final = ""; foreach($words_term as $key_term...
24eme/vinsdeloire
project/plugins/acVinLibPlugin/lib/util/Search.class.php
PHP
agpl-3.0
1,975
/** * Copyright (C) 2016 Jorge Campos Serrano. * * 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 Software Foundation. * * This program is distributed in the hope that it will be ...
jcamposs/coderoom
client/templates/notifications/notifications_widget.js
JavaScript
agpl-3.0
1,772
<?php /*** COPYRIGHT NOTICE ********************************************************* * * Copyright 2009-2016 ProjeQtOr - Pascal BERNARD - support@projeqtor.org * Contributors : - * * This file is part of ProjeQtOr. * * ProjeQtOr is free software: you can redistribute it and/or modify it under * the terms of...
papjul/projeqtor
model/Contact.php
PHP
agpl-3.0
1,800
############################################################################## # # ______ Releasing children from poverty _ # / ____/___ ____ ___ ____ ____ ___________(_)___ ____ # / / / __ \/ __ `__ \/ __ \/ __ `/ ___/ ___/ / __ \/ __ \ # / /___/ /_/ / / / / / / /_/ / /_/ (__ |__ ) / /_/...
CompassionCH/compassion-modules
survey_phone/__manifest__.py
Python
agpl-3.0
2,093
// // Copyright (C) 2013-2016 University of Amsterdam // // 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. // /...
raviselker/jasp-desktop
JASP-Desktop/widgets/tablemodelvariableslevels.cpp
C++
agpl-3.0
12,498
class ChangeBoardCompositionResolution < ResolutionWrapper attr_accessor :max_user_directors, :max_employee_directors, :max_supporter_directors, :max_producer_directors, :max_consumer_directors def after_initialize [ :max_user_directors, :max_employee_directors, :max_supporter_directors, :max_produce...
oneclickorgs/one-click-orgs
app/models/change_board_composition_resolution.rb
Ruby
agpl-3.0
1,028
# frozen_string_literal: true module Decidim # This holds the decidim-surveys version. module Surveys def self.version "0.22.0" end end end
codegram/decidim
decidim-surveys/lib/decidim/surveys/version.rb
Ruby
agpl-3.0
161
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.fluxtion.runtime.plugin.executor; import com.fluxtion.runtime.event.Event; import com.fluxtion.runtime.lifecycle.EventHand...
v12technology/fluxtion-utils
runtime-plugins/src/main/java/com/fluxtion/runtime/plugin/executor/SingleThreadedAsyncEventHandler.java
Java
agpl-3.0
1,904
/** * This file is part of RLO-Plan. * * Copyright 2009, 2010 Tillmann Karras, Josua Grawitter * * RLO-Plan 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 * ...
gwater/rlo-plan
entry.js
JavaScript
agpl-3.0
16,345
/////////////////////////////////////////////////////////////////////////////// //Copyright (C) 2014 Joliciel Informatique // //This file is part of Talismane. // //Talismane 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 ...
safety-data/talismane
talismane_machine_learning/src/main/java/com/joliciel/talismane/machineLearning/features/IfThenElseGenericFeature.java
Java
agpl-3.0
3,068
class SDGManagement::CardsController < SDGManagement::BaseController include Admin::Widget::CardsActions helper_method :index_path load_and_authorize_resource :phase, class: "SDG::Phase", id_param: "sdg_phase_id" load_and_authorize_resource :card, through: :phase, class: "Widget::Card" private def inde...
consul/consul
app/controllers/sdg_management/cards_controller.rb
Ruby
agpl-3.0
374
<!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//arrakiz.org/analytics/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 1]); var d=document, g=d.createElement('script'), s=d.ge...
Scindix/ArrakizPHP
tracking.php
PHP
agpl-3.0
612
/***************************************************************************** * Stefans Poker Game * * * * Copyright (C) 2016 Stefan Oltmann * ...
StefanOltmann/PokerGame
server/src/test/java/de/stefan_oltmann/poker/server/SpielControllerTest.java
Java
agpl-3.0
8,108
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals AUTHOR = 'kmol' SITENAME = 'CDW11 網頁 (虎尾科大MDE)' SITEURL = 'http://cdw11-40323200.rhcloud.com/static/' # 不要用文章所在目錄作為類別 USE_FOLDER_AS_CATEGORY = False #PATH = 'content' #OUTPUT_PATH = 'output' TIMEZONE = 'Asia/Taipei' DEFAULT_LA...
tsrnnash/bg8-cdw11
static/pelicanconf.py
Python
agpl-3.0
2,146
import * as React from 'react'; export interface DeleteButtonProps { questionId: string, onChange(questionId: string): void } export interface NameInputProps { name: string, onChange(value: string, e: object): void } export const DeleteButton = ({ questionId, onChange }: DeleteButtonProps) => { function ha...
empirical-org/Empirical-Core
services/QuillLMS/client/app/bundles/Diagnostic/components/lessons/lessonFormComponents.tsx
TypeScript
agpl-3.0
887
import os from flask import current_app def get_absolute_file_path(relative_path: str) -> str: return os.path.join(current_app.config['UPLOAD_FOLDER'], relative_path)
SamR1/FitTrackee
fittrackee/workouts/utils_files.py
Python
agpl-3.0
174
/* * SourceCppStartedEvent.java * * Copyright (C) 2020 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public Li...
JanMarvin/rstudio
src/gwt/src/org/rstudio/studio/client/workbench/views/output/sourcecpp/events/SourceCppStartedEvent.java
Java
agpl-3.0
1,265
'use strict'; define(function(require) { var Backbone = require('backbone'), routes = require('routes'), GroupModel = require('model/groups/group-model'); var GroupsList = Backbone.Collection.extend({ model: GroupModel, url: routes.absoluteUrl(routes.GROUPS_DATA), fetc...
hflabs/perecoder
rcd-web/src/main/javascript/app/model/groups/groups-list.js
JavaScript
agpl-3.0
619
/** @jsx React.DOM */ 'use strict'; var Lazy = require('lazy.js'), React = require('react'), ReactIntlMixin = require('react-intl'); var EnumerationControl = React.createClass({ mixins: [ReactIntlMixin], propTypes: { default: React.PropTypes.string, error: React.PropTypes.string, label: React.Pr...
openfisca/openfisca-web-ui
openfisca_web_ui/static/js/components/test-case/form/enumeration-control.js
JavaScript
agpl-3.0
1,605
# -*- coding: utf-8 -*- """ This is the common settings file, intended to set sane defaults. If you have a piece of configuration that's dependent on a set of feature flags being set, then create a function that returns the calculated value based on the value of FEATURES[...]. Modules that extend this one can change th...
XiaodunServerGroup/ddyedx
cms/envs/common.py
Python
agpl-3.0
18,114
/* * Copyright (c) 2015. Philip DeCamp * Released under the BSD 2-Clause License * http://opensource.org/licenses/BSD-2-Clause */ package bits.photosort; import java.io.*; import java.nio.*; import java.nio.channels.FileChannel; import java.text.*; public class TimestampReader { public static void mai...
decamp/photosort
src/main/java/bits/photosort/TimestampReader.java
Java
agpl-3.0
8,819
var searchData= [ ['unknown',['UNKNOWN',['../classtetgenmesh.xhtml#a1d02bed7b59566d57b896776d78a6b25a51233a7db87ef44baab2026b0ebdf22f',1,'tetgenmesh']]], ['unusedvertex',['UNUSEDVERTEX',['../classtetgenmesh.xhtml#ad0458f823a5eef2de89c7fae067aa2aca1d0b671fcad449d30b826305df861a52',1,'tetgenmesh']]] ];
vroland/SimpleAnalyzer
doc/html/search/enumvalues_75.js
JavaScript
agpl-3.0
306
<?php /* Smarty version 2.6.11, created on 2015-06-17 13:35:10 compiled from cache/modules/AOW_WorkFlow/CasesDetailViewpriority.tpl */ ?> <?php if (is_string ( $this->_tpl_vars['fields']['priority']['options'] )): ?> <input type="hidden" class="sugar_field" id="<?php echo $this->_tpl_vars['fields']['priority...
caleboau2012/edusupport
test/cache/smarty/templates_c/%%19^19B^19BA849F%%CasesDetailViewpriority.tpl.php
PHP
agpl-3.0
805
package acquire import ( "archive/zip" "bytes" "compress/gzip" "fmt" "io/ioutil" "strings" ) func unpackReport(filename string, data []byte) ([]byte, error) { dataBuffer := bytes.NewBuffer(data) if strings.HasSuffix(filename, ".gz") { file, err := gzip.NewReader(dataBuffer) if err != nil { return nil, ...
martinhoefling/go-dmarc-report
acquire/unpack.go
GO
agpl-3.0
983
"""TOSEC models""" from django.db import models class Category(models.Model): name = models.CharField(max_length=256) description = models.CharField(max_length=256) category = models.CharField(max_length=256) version = models.CharField(max_length=32) author = models.CharField(max_length=128) s...
lutris/website
tosec/models.py
Python
agpl-3.0
1,177
<?php use Civi\Test\HeadlessInterface; use Civi\Test\HookInterface; use Civi\Test\TransactionalInterface; /** * RaiselyTest - Unit tests for the CiviCRM-Raisely web callback extension * * Tips: * - With HookInterface, you may implement CiviCRM hooks directly in the test class. * Simply create corresponding f...
australiangreens/au.org.greens.raisely
tests/phpunit/CRM/Raisely/RaiselyTest.php
PHP
agpl-3.0
3,652
<?php /** * Routes configuration * * In this file, you set up routes to your controllers and their actions. * Routes are very important mechanism that allows you to freely connect * different URLs to chosen controllers and their actions (functions). * * CakePHP(tm) : Rapid Development Framework (http://cakephp.o...
Oblady/web-task-runner-for-pentaho
config/routes.php
PHP
agpl-3.0
2,500
<?php namespace wcf\data\user\online; use wcf\data\option\OptionAction; use wcf\data\session\SessionList; use wcf\data\user\group\UserGroup; use wcf\data\user\User; use wcf\system\event\EventHandler; use wcf\system\WCF; use wcf\util\StringUtil; /** * Represents a list of currently online users. * * @author Marcel ...
Morik/WCF
wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php
PHP
lgpl-2.1
5,464
package org.cytoscape.task.internal.network; import java.util.ArrayList; import java.util.Collection; import org.cytoscape.model.CyNetwork; import org.cytoscape.service.util.CyServiceRegistrar; import org.cytoscape.task.AbstractNetworkCollectionTaskFactory; import org.cytoscape.task.destroy.DestroyNetworkTaskFactory;...
cytoscape/cytoscape-impl
core-task-impl/src/main/java/org/cytoscape/task/internal/network/DestroyNetworkTaskFactoryImpl.java
Java
lgpl-2.1
1,942
<?php /*"****************************************************************************************************** * (c) 2004-2006 by MulchProductions, www.mulchprod.de * * (c) 2007-2015 by Kajona, www.kajona.de ...
jinshana/kajonacms
module_system/system/class_root.php
PHP
lgpl-2.1
70,858
package net.time4j.range; import net.time4j.CalendarUnit; import net.time4j.Duration; import net.time4j.PlainDate; import net.time4j.PlainTimestamp; import net.time4j.Weekcycle; import net.time4j.engine.TimeSpan; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import java.text...
MenoData/Time4J
base/src/test/java/net/time4j/range/YearsTest.java
Java
lgpl-2.1
9,209