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
package org.geomajas.layer.geotools; import java.io.IOException; import java.io.Serializable; import java.util.List; import java.util.Map; import org.geotools.data.AbstractDataStoreFactory; import org.geotools.data.DataStore; import org.geotools.data.store.ContentDataStore; import org.geotools.data.store.ContentEntry...
geomajas/geomajas-project-server
plugin/layer-geotools/geotools/src/test/java/org/geomajas/layer/geotools/DummyJdbcFactory.java
Java
agpl-3.0
1,533
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library 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.1 of the License, or (at your option) * any later...
hltn/opencps
portlets/opencps-portlet/docroot/WEB-INF/service/org/opencps/processmgt/NoSuchProcessStepDossierPartException.java
Java
agpl-3.0
1,112
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the ...
WhiteLabelReady/WhiteLabelTransfer
library/Zend/Dojo/Form/Element/RadioButton.php
PHP
agpl-3.0
1,413
/* This file is part of the HeavenMS MapleStory Server Copyleft (L) 2016 - 2019 RonanLana 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 3 as published by the F...
ronancpl/MapleSolaxiaV2
scripts/quest/21613.js
JavaScript
agpl-3.0
2,413
bpmnGatewayInclusive=function(width,_30ab){ VectorFigure.call(this); this.stroke =1; }; bpmnGatewayInclusive.prototype=new VectorFigure; bpmnGatewayInclusive.prototype.type="bpmnGatewayInclusive"; bpmnGatewayInclusive.prototype.paint=function(){ VectorFigure.prototype.paint.call(this); if(typeof workflow.zoomf...
carbonadona/pm
workflow/engine/templates/bpmn/GatewayInclusive.js
JavaScript
agpl-3.0
3,734
<?php namespace Controller; /** * Project controller (Settings + creation/edition) * * @package controller * @author Frederic Guillot */ class Project extends Base { /** * List of projects * * @access public */ public function index() { if ($this->userSession->isAdmin()...
crwilliams/kanboard
app/Controller/Project.php
PHP
agpl-3.0
13,003
package org.bimserver.database.actions; /****************************************************************************** * Copyright (C) 2009-2019 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...
opensourceBIM/BIMserver
BimServer/src/org/bimserver/database/actions/GetAllUsersDatabaseAction.java
Java
agpl-3.0
2,879
package gplx.core.stores; import gplx.*; import gplx.core.*; import gplx.core.strings.*; public class DataRdr_ { public static final DataRdr Null = new DataRdr_null(); public static DataRdr as_(Object obj) {return obj instanceof DataRdr ? (DataRdr)obj : null;} public static DataRdr cast(Object obj) {try {ret...
gnosygnu/xowa_android
_100_core/src/main/java/gplx/core/stores/DataRdr_.java
Java
agpl-3.0
3,982
<?php /** * @author Björn Schießle <schiessle@owncloud.com> * @author Joas Schilling <nickvergessen@owncloud.com> * @author Morris Jobke <hey@morrisjobke.de> * @author Robin Appelman <icewind@owncloud.com> * @author Roeland Jago Douma <roeland@famdouma.nl> * @author Thomas Müller <thomas.mueller@tmit.eu> * @auth...
lrytz/core
apps/files_sharing/api/local.php
PHP
agpl-3.0
20,004
class BookshelfStory < ActiveRecord::Base belongs_to :bookshelf belongs_to :story validates :story_id, uniqueness: {scope: :bookshelf_id} after_save :notify_author def notify_author Notification.create(event: :story_added_to_bookshelf, subject: story, secon...
noidedmedia/Fiction-Dock
app/models/bookshelf_story.rb
Ruby
agpl-3.0
397
""" Learning Tools Interoperability (LTI) module. Resources --------- Theoretical background and detailed specifications of LTI can be found on: http://www.imsglobal.org/LTI/v1p1p1/ltiIMGv1p1p1.html This module is based on the version 1.1.1 of the LTI specifications by the IMS Global authority. For authenticat...
mtlchun/edx
common/lib/xmodule/xmodule/lti_module.py
Python
agpl-3.0
37,531
from datetime import datetime, date import pytest from pytz import UTC from uber.config import c from uber.models import Attendee, Session from uber.site_sections import summary @pytest.fixture def birthdays(): dates = [ date(1964, 12, 30), date(1964, 12, 31), date(1964, 1, 1), d...
magfest/ubersystem
tests/uber/site_sections/test_summary.py
Python
agpl-3.0
3,732
/* * Copyright (c) 2013-2016 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt) * * This file is part of vcash. * * vcash 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 *...
xCoreDev/vanillacoin
src/hd_keychain.cpp
C++
agpl-3.0
19,176
from django.template import Library, Node, TemplateSyntaxError, Variable from django.conf import settings from django.core import urlresolvers import hashlib import re register = Library() class ViewNode(Node): def __init__(self, parser, token): self.args = [] self.kwargs = {} tokens = ...
meymarce/overlord
overlord/templatetags/view_tag.py
Python
agpl-3.0
2,130
import { clone } from 'lodash'; export class SqlPartDef { type: string; style: string; label: string; params: any[]; defaultParams: any[]; wrapOpen: string; wrapClose: string; separator: string; constructor(options: any) { this.type = options.type; if (options.label) { this.label = opt...
grafana/grafana
public/app/angular/components/sql_part/sql_part.ts
TypeScript
agpl-3.0
1,657
########################################################################### # Concurrent WSGI server - webserver3h.py # # # # Tested with Python 2.7.9 on Ubuntu 14.04 & Mac OS X # ################...
hamishcunningham/fishy-wifi
wegrow-cloudside/elf-data-collector/webserver4/server-again.py
Python
agpl-3.0
6,539
# Copyright (C) 2018 - TODAY, Pavlov Media # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models from . import wizards
OCA/contract
agreement_legal/__init__.py
Python
agpl-3.0
151
/* This file is part of Archivematica. Copyright 2010-2013 Artefactual Systems Inc. <http://artefactual.com> Archivematica 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 ...
sevein/archivematica
src/dashboard/src/media/js/ingest/ingest_file_browser.js
JavaScript
agpl-3.0
14,811
/* 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/voltdb/BackendTarget.java
Java
agpl-3.0
1,505
# -*- coding: utf-8 -*- { 'name': "Better validation for Attendance", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "J...
jmankiewicz/odooAddons
hr_attendance_new_check/__openerp__.py
Python
agpl-3.0
958
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2011. (c) 2011. * Government of Canada Gouver...
opencadc/ac
cadc-access-control-admin/src/main/java/ca/nrc/cadc/ac/admin/ContextImpl.java
Java
agpl-3.0
7,999
package jlib.datastream.intraprocess; import java.io.Closeable; import java.io.IOException; import java.util.ArrayList; import jlib.datastream.ezio.LineReaderObject; import jlib.events.Command; import jlib.utils.e.event.DuplicateCommandException; import jlib.utils.e.oop.NonUniqueIdentifierException; /** ...
JDierberger1/JDierberger
src/jlib/datastream/intraprocess/BackgroundDaemon.java
Java
agpl-3.0
6,700
/* * This file is part of SerialPundit. * * Copyright (C) 2014-2020, Rishi Gupta. All rights reserved. * * The SerialPundit is DUAL LICENSED. It is made available under the terms of the GNU Affero * General Public License (AGPL) v3.0 for non-commercial use and under the terms of a commercial * license for com...
RishiGupta12/serial-communication-manager
modules/usb/src/com/serialpundit/usb/SerialComUSB.java
Java
agpl-3.0
25,769
import os import time import sys FOLDERPATH = sys.argv[1] #os.chdir(FOLDERPATH) walk = os.walk(FOLDERPATH) FSEVENT = "delete" for item in walk: FILEPATHPREFIX = item[0] + "\\" for song in item[2]: if song.endswith(".mp3"): FILEPATH = "%s%s" % (FILEPATHPREFIX, song) ...
collaj/MusicServer
scripts/test_script_delete.py
Python
agpl-3.0
404
<?php /** * OpenEyes. * * (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 * (C) OpenEyes Foundation, 2011-2013 * This file is part of OpenEyes. * OpenEyes 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 Softwa...
FiviumAustralia/OpenEyes
protected/modules/OphCiExamination/models/OphCiExamination_Dilation_Drugs.php
PHP
agpl-3.0
2,664
import SPELLS from 'common/SPELLS/index'; /* * Fields: * int: spell scales with Intellect * crit: spell scales with (is able to or procced from) Critical Strike * hasteHpm: spell does more healing due to Haste, e.g. HoTs that gain more ticks * hasteHpct: spell can be cast more frequently due to Haste, basically a...
FaideWW/WoWAnalyzer
src/parser/shared/modules/features/SpellInfo.js
JavaScript
agpl-3.0
5,070
/** * @author Anakeen * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License */ // Utility function to add an event listener function addEvent(o,e,f){ if (o.addEventListener){ o.addEventListener(e,f,true); return true; } else if (o.attachEvent){ return o.attachEvent("on...
Eric-Brison/dynacase-core
Zone/Ui/widget-document.js
JavaScript
agpl-3.0
80,977
<?php namespace App\Http\Controllers; use enshrined\svgSanitize\Sanitizer; use App\Helpers\Helper; use App\Http\Requests\ImageUploadRequest; use App\Http\Requests\SettingsSamlRequest; use App\Http\Requests\SetupUserRequest; use App\Models\Setting; use App\Models\User; use App\Notifications\FirstAdminNotification; use...
ppavlov28/snipe-it
app/Http/Controllers/SettingsController.php
PHP
agpl-3.0
44,314
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2009 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...
Seldaiendil/meyeOS
devtools/qooxdoo-1.5-sdk/framework/source/class/qx/data/controller/Form.js
JavaScript
agpl-3.0
11,935
<?php namespace BioSounds\Security; use Exception; class Session { /** * @throws Exception */ public function startSecureSession() { $session_name = 'biosounds_session'; $secure = false; $httpOnly = true; // Forces sessions to only use cookies. if (!ini_s...
nperezg/biosounds
src/src/BioSounds/Security/Session.php
PHP
agpl-3.0
1,424
# coding=utf-8 # Copyright (c) 2001, 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 and op...
CanalTP/kirin
tests/mock_navitia/vj_bad_order.py
Python
agpl-3.0
13,166
import SPELLS from 'common/SPELLS'; import RESOURCE_TYPES from 'game/RESOURCE_TYPES'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import STATISTIC_ORDER from 'parser/ui/STATISTIC_ORDER'; import TalentStatisticBox from 'parser/ui/TalentStatisticBox'; import ...
anom0ly/WoWAnalyzer
analysis/deathknightblood/src/modules/talents/Heartbreaker.js
JavaScript
agpl-3.0
1,692
using System; using ImGui; using ImGui.Rendering.Composition; namespace ImGui.Rendering { internal partial class DrawingContent { public bool ReadRecord(out DrawLineCommand record) { record = default; unsafe { fixed (byte* pByte = this.buffer...
zwcloud/ImGui
src/ImGui/Rendering/DrawingContent.Read.cs
C#
agpl-3.0
13,920
package com.x.bbs.assemble.control.jaxrs.replyinfo.exception; import com.x.base.core.project.exception.PromptException; public class ExceptionReplySubjectIdEmpty extends PromptException { private static final long serialVersionUID = 1859164370743532895L; public ExceptionReplySubjectIdEmpty() { super("主题ID为空,无法继...
o2oa/o2oa
o2server/x_bbs_assemble_control/src/main/java/com/x/bbs/assemble/control/jaxrs/replyinfo/exception/ExceptionReplySubjectIdEmpty.java
Java
agpl-3.0
364
#################################################################################################### # Copyright (C) 2016 by Ingo Keller, Katrin Lohan # # <brutusthetschiepel@gmail.com> # # ...
BrutusTT/pyJD
pyJD/EZModule.py
Python
agpl-3.0
8,093
<?php /** * Centurion * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@centurion-project.org ...
Sparfel/iTop-s-Portal
library/Centurion/Application/Resource/Exception.php
PHP
agpl-3.0
1,059
/* MiracleGrue - Model Generator for toolpathing. <http://www.grue.makerbot.com> Copyright (C) 2011 Far McKon <Far@makerbot.com>, Hugo Boyer (hugo@makerbot.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 ...
makerbot/Miracle-Grue
src/mgl/shrinky.cc
C++
agpl-3.0
33,552
# -*- coding: utf-8 -*- require 'rails_helper' RSpec.describe CfThreads::InvisibleController, type: :controller do include InvisibleHelper before(:each) do @forum = create(:write_forum) @user = create(:user) @messages = [create(:message, forum: @forum), create(:message, forum: @forum...
CountOrlok/cforum
spec/controllers/cf_threads/invisible_controller_spec.rb
Ruby
agpl-3.0
1,562
import os from xbrowse_server import xbrowse_controls from django.core.management.base import BaseCommand from xbrowse_server.base.models import Project, Individual, VCFFile from xbrowse_server import sample_management class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument('ar...
macarthur-lab/xbrowse
xbrowse_server/base/management/commands/add_vcf_to_project.py
Python
agpl-3.0
1,768
/* * ################################################################ * * 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 ...
acontes/programming
src/Extensions/org/objectweb/proactive/extensions/mixedlocation/UniversalBodyWrapper.java
Java
agpl-3.0
10,651
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":46,"id":86762,"methods":[{"el":38,"sc":2,"sl":36}],"name":"AbstractEigenvectorModel","sl":32}]} // JSON: {test_ID : {"methods": [ID1, ID2, ID3...], "name" : "testXXX() void"}, ...}...
cm-is-dog/rapidminer-studio-core
report/html/com/rapidminer/operator/features/transformation/AbstractEigenvectorModel.js
JavaScript
agpl-3.0
629
# -*- coding: utf-8 -*- """ Class_LabExperimBased provides functionalities for data handling of data obtained in lab experiments in the field of (waste)water treatment. Copyright (C) 2016 Chaim De Mulder This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General P...
cdemulde/wwdata
wwdata/Class_LabExperimBased.py
Python
agpl-3.0
7,474
<?php /** * OpenEyes. * * (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 * (C) OpenEyes Foundation, 2011-2012 * This file is part of OpenEyes. * OpenEyes 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 Softwa...
FiviumAustralia/OpenEyes
protected/modules/OphInVisualfields/models/OphInVisualfields_Pattern.php
PHP
agpl-3.0
1,288
<?php /* * Copyright (C) 2009 Nouweo * * Nouweo 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...
nephthys/Nouweo_PHP
inc/lib/users/count_all_mbr.php
PHP
agpl-3.0
1,064
'use strict'; angular.module('impactApp') .controller('PartenairesEditCtrl', function($scope, $state, partenaire) { $scope.partenaire = partenaire; $scope.update = function() { $scope.partenaire.$save(function() { $state.go('^', {}, {reload: true}); }); }; $scope.delete = functi...
sgmap/impact
client/app/dashboard/users/partenaires/edit.controller.js
JavaScript
agpl-3.0
439
import { State, Selector, Action, StateContext } from '@ngxs/store'; import { Injectable } from '@angular/core'; import { DetttagliTipologieService } from '../../../../core/service/dettagli-tipologie/dettagli-tipologie.service'; import { TriageService } from '../../../../core/service/triage/triage.service'; import { ...
vvfosprojects/sovvf
src/frontend/launcherComponent/src/app/shared/store/states/triage-chiamata-modal/triage-chiamata-modal.state.ts
TypeScript
agpl-3.0
6,729
/* * * Copyright 2015 IK4-Tekniker All Rights Reserved * * This file is part of Health Questionnaire SE at FISTAR https://www.fi-star.eu/ * * Health Questionnaire SE 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 Softwar...
ik4tekniker/FISTAR-Health-Questionnaire-SE
HQSE_code/HQSE_WebServices_Code_BETA/commons.mng.bo/src/main/java/es/tekniker/framework/ktek/entity/KtekLoginEntity.java
Java
agpl-3.0
3,255
class CardsFromMunAnalyzer def self.analyze(data) return {} if data.nil? || data.empty? { name: data["name"], lists: data["lists"].map { |list| {name: list["name"], id: list["id"]} }, cards: data["cards"].map { |card| {name: card["name"], id: card["id"], due: card["due"]} } } end end
nschmidtg/simpla
utils/analyzers/cards_from_mun_analyzer.rb
Ruby
agpl-3.0
319
'use strict'; const _ = require('underscore'); const Handlebars = require('handlebars'); const moment = require('moment'); const VPREmulatorModel = require('./vprEmulatorModel'); const toFMDateTime = require('../vdmUtils').toFMDateTime; class VPRPatientEmulator extends VPREmulatorModel { template() { retu...
vistadataproject/MVDM
vprEmulator/vprEmulatorPatientModel.js
JavaScript
agpl-3.0
3,784
from common.log import logUtils as log from constants import clientPackets from constants import serverPackets def handle(userToken, packetData): # get token data username = userToken.username # Read packet data packetData = clientPackets.setAwayMessage(packetData) # Set token away message userToken.awayMessa...
osuripple/pep.py
events/setAwayMessageEvent.py
Python
agpl-3.0
743
<?php $this->load_template('header.php'); ?> <div id="settings"> <div id="settings_left"> <div class="ttl" style="margin-right:12px;"><div class="ttl2"><h3><?= $this->lang('settings_menu_title') ?></h3></div></div> <div class="sidenav"> <a href="<?= $C->SITE_URL ?>settings/profile"><...
Opentronix/Opentronix
upload/themes/default/html/settings_delaccount.php
PHP
agpl-3.0
2,687
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'specialchar', 'de-ch', { options: 'Sonderzeichenoptionen', title: 'Sonderzeichen auswählen', toolbar: 'Sonderzeichen einfügen' } );
afshinnj/php-mvc
assets/framework/ckeditor/plugins/specialchar/lang/de-ch.js
JavaScript
agpl-3.0
319
<?php if(!$app->isEnabled('events')){ return; } $class_event = 'MapasCulturais\Entities\Event'; $num_events = $this->getNumEvents(); $num_verified_events = $this->getNumVerifiedEvents(); $event_linguagens = array_values($app->getRegisteredTaxonomy($class_event, 'linguagem')->restrictedTerms); sort...
tuliolages/mapasculturais
src/protected/application/themes/BaseV1/layouts/parts/home-events.php
PHP
agpl-3.0
2,629
package com.codingbat; public final class String2 { /* * http://codingbat.com/prob/p165312 * * Given a string, return a string where for every char in the original, * there are two chars. * * doubleChar("The") → "TThhee" * * doubleChar("AAbb") → "AAAAbbbb" * * doubleChar("Hi-There") → "HHii--T...
perzyje/prog-training-oct2012
day15/src/main/java/com/codingbat/String2.java
Java
agpl-3.0
8,849
<?php /* * jQuery File Upload Plugin PHP Example 5.7 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ error_reporting(E_ALL | E_STRICT); //require('upload.class.php'); //...
iesoretania/atica.old
server/upload/index.php
PHP
agpl-3.0
7,441
"""course_discovery URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
cpennington/course-discovery
course_discovery/urls.py
Python
agpl-3.0
1,899
/** * This file is part of agora-gui-admin. * Copyright (C) 2015-2016 Agora Voting SL <agora@agoravoting.com> * agora-gui-admin 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...
agoravoting/agora-gui-admin
avAdmin/admin-directives/elcensus/add-csv-modal.js
JavaScript
agpl-3.0
1,844
(function() { 'use strict'; angular .module('blocks.logger') .factory('logListeners', logListeners); /** * @ngdoc service * @name spaghetto.logger:logListeners * * @description * Manage different log listeners so that log messages can have various * destinatio...
aurelien-rainone/spaghetto
src/client/app/blocks/logger/loglisteners.js
JavaScript
agpl-3.0
3,869
<?php namespace Chill\PersonBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\ExecutionContextInterface; use CL\CLHistoryBundle\Entity\IsHistoryContainer; use CL\CLHistoryBundle\Entity\HasHistory; use CL\CLHistoryBundle\Entity\HistoryHelper; /** * Person */ class Person implements IsH...
Champs-Libres/ChillPersonBundle
Entity/Person.php
PHP
agpl-3.0
19,339
<?php /** * StatusNet, the distributed open-source microblogging tool * * Register a new user account * * PHP version 5 * * LICENCE: 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,...
zcopley/zcopleys-statusnet-clone
actions/register.php
PHP
agpl-3.0
22,427
#include "CLP.h" #include <sstream> #include <iostream> namespace osuCrypto { void CLP::parse(int argc, char const*const* argv) { if (argc > 0) { std::stringstream ss; auto ptr = argv[0]; while (*ptr != 0) ss << *ptr++; ...
cris-iisc/mpc-primitives
crislib/libscapi/lib/libOTe/cryptoTools/cryptoTools/Common/CLP.cpp
C++
agpl-3.0
4,799
/* carsharing-ds: car sharing datasource for the integreen cloud Copyright (C) 2015 TIS Innovation Park - Bolzano/Bozen - Italy 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 ...
tis-innovation-park/carsharing-ds
src/main/java/it/bz/tis/integreen/carsharingbzit/ConnectorLogic.java
Java
agpl-3.0
14,481
/* Copyright (C) 2014 Härnösands kommun 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. Th...
Sundsvallskommun/OpenEMap-WebUserInterface
src/main/javascript/action/Print.js
JavaScript
agpl-3.0
9,608
/* @flow */ import oEmbedStorage from './oEmbedStorage'; import getContentType from './getContentType'; import regexes from './regexes'; import providers from './providers'; import type { Embed } from './oEmbedTypes'; function getProperty(prop: string, type: ?string): RegExp { if (typeof type === 'string') { retur...
Anup-Allamsetty/pure
src/modules/oembed/oEmbed.js
JavaScript
agpl-3.0
3,946
# This file is part of authapi. # Copyright (C) 2014-2020 Agora Voting SL <contact@nvotes.com> # authapi 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. # authapi is...
agoravoting/authapi
authapi/captcha/urls.py
Python
agpl-3.0
874
/* * Copyright (C) 2005 Luca Veltri - University of Parma - Italy * * This file is part of MjSip (http://www.mjsip.org) * * MjSip is free software; you can redistribute it and/or modify * it under the terms of the Affero GNU General Public License as published by * the Free Software Foundation; either version ...
ging/isabel
components/gateway/GWSIP/mjsip_1.6/src/org/zoolu/sip/provider/SipInterfaceListener.java
Java
agpl-3.0
1,263
package net.wayward_realms.waywardchat.irc; import net.wayward_realms.waywardchat.WaywardChat; import org.pircbotx.Channel; import org.pircbotx.PircBotX; import org.pircbotx.User; import org.pircbotx.hooks.ListenerAdapter; import org.pircbotx.hooks.events.MessageEvent; public class IrcMessageListener extends Listener...
WaywardRealms/Wayward
WaywardChat/src/main/java/net/wayward_realms/waywardchat/irc/IrcMessageListener.java
Java
agpl-3.0
872
# © 2008-2020 Dorin Hongu <dhongu(@)gmail(.)com # See README.rst file on addons root folder for license details { "name": "Romania - Invoice Report ", "summary": "Localizare Terrabit", "version": "14.0.3.0.3", "author": "Dorin Hongu," "Odoo Community Association (OCA)", "website": "https://github....
dhongu/l10n-romania
l10n_ro_invoice_report/__manifest__.py
Python
agpl-3.0
887
(function (factory) { if (typeof define === 'function') { if(define.amd) { define(['common/metastore', 'jslet', 'mock/employee-mock'], factory); } else { define(function(require, exports, module) { module.exports = factory(); }); } } else { factory(); } })(fu...
jslet/jslet
democn/dbcontrol/table/basic.js
JavaScript
agpl-3.0
3,253
using System; using Terraria.Localization; namespace HamstarHelpers.Services.Network.Scraper { /// <summary> /// Represents scraped data for the settings of a sent network packet. The actual payload of the generated /// packet is internal to `NetMessage.SendData(...)` (for now). /// </summary> public class Scra...
hamstar0/tml-hamstarhelpers-mod
HamstarHelpers/Services/Network/Scraper/ScrapedSentData.cs
C#
agpl-3.0
2,038
module GoogleClient extend ActiveSupport::Concern def google_refresh_token if auth = self.authentications.find_by_provider('google_oauth2') auth.refresh_token else nil end end end
atomicjolt/demo_arigato
app/models/concerns/google_client.rb
Ruby
agpl-3.0
212
# # Author:: Johannes Krude # Copyright:: (c) Johannes Krude 2009 # License:: AGPL3 # #-- # This file is part of filehosting. # # filehosting 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 versi...
johannesk/filehosting
lib/filehosting/sampledatasource.rb
Ruby
agpl-3.0
1,149
/* * 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...
dzc34/Asqatasun
rules/rules-rgaa3.0/src/main/java/org/asqatasun/rules/rgaa30/Rgaa30Rule120401.java
Java
agpl-3.0
1,491
<?php namespace App\Models; use App\Models\Requestable; use App\Models\SnipeModel; use App\Presenters\Presentable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Watson\Validating\ValidatingTrait; /** * Model for Asset Models. Asset Models contain higher level * attributes...
bytepark/snipe-it
app/Models/AssetModel.php
PHP
agpl-3.0
7,207
############################################################################## # # Copyright (C) 2014 Comunitea Servicios Tecnológicos All Rights Reserved # $Kiko Sánchez <kiko@comunitea.com>$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gen...
Comunitea/CMNT_004_15
project-addons/product_outlet_loss/models/product.py
Python
agpl-3.0
1,853
<?php /** * @package api * @subpackage objects */ class KalturaReportExportFile extends KalturaObject { /** * @var string */ public $fileId; /** * @var string */ public $fileName; private static $map_between_objects = array ( "fileId", "fileName", ); public function getMapBetweenObjects() { ...
kaltura/server
api_v3/lib/types/report/export/KalturaReportExportFile.php
PHP
agpl-3.0
628
// Copyright (c) 2017 Uber Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
grafana/grafana
packages/jaeger-ui-components/src/constants/index.tsx
TypeScript
agpl-3.0
1,036
<?php /** * * Manages the batch mechanism * * @package Core * @subpackage Batch */ class kBatchManager { /** * batch createFlavorAsset orgenize a convert job data * * @param flavorParamsOutputWrap $flavor * @param int $partnerId * @param int $entryId * @param string $flavorAsse...
MimocomMedia/kaltura
package/app/app/alpha/apps/kaltura/lib/batch2/kBatchManager.php
PHP
agpl-3.0
12,374
/** * @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', 'gu', { title: 'એક્ક્ષેબિલિટી ની વિગતો', contents: 'હેલ્પ. આ બંધ કરવા ESC દબાવો.', legend: [ { ...
astrobin/astrobin
astrobin/static/astrobin/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js
JavaScript
agpl-3.0
5,574
<?php require_once "connect.php"; $userId = 3; $record_serial = 2; $suspensoQuery = "SELECT 1 FROM reservation WHERE userid = '$userId' AND record_serial = '$record_serial' LIMIT 1"; $result = pg_query($connection,$suspensoQuery); echo $result; $number = pg_num_rows($result); if($number != 1){ echo ...
weldermarcosxd/Ionic-Sliding-Test
platforms/android/assets/www/model/teste.php
PHP
agpl-3.0
467
////////////////////////////////////////////////////////////////// // // FreeLing - Open Source Language Analyzers // // Copyright (C) 2014 TALP Research Center // Universitat Politecnica de Catalunya // // This library is free software; you can redistribute it and/or // modify it ...
TALP-UPC/freeling
src/libfreeling/semdb.cc
C++
agpl-3.0
9,732
export default { standard: { credits: { enabled: false }, chart: { spacingBottom: 20, style: { fontFamily: "'proxima', 'Helvetica', sans-serif' ", paddingTop: '20px' // Make room for buttons } }, exporting: { buttons: { contextButton: { onclic...
unicef/rhizome
webapp/src/components/highchart/themes.js
JavaScript
agpl-3.0
663
import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-isegory', version='0.1', packages=['isegory'], include_package_data=True, license='...
jdelacueva/django-isegory
setup.py
Python
agpl-3.0
1,049
# Recall is a program for storing bookmarks of different things # Copyright (C) 2012 Cal Paterson # # 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 # ...
calpaterson/recall
src/recall/people.py
Python
agpl-3.0
3,665
# -*- coding: utf-8 -*- require 'rails_helper' RSpec.describe MessagesController, type: :controller do let(:admin) { create(:user_admin) } let(:message) { create(:message) } let(:tag) { create(:tag, forum: message.forum) } before(:each) do # ensure that message and tag exist message tag s = ...
CountOrlok/cforum
spec/controllers/messages_controller_spec.rb
Ruby
agpl-3.0
8,350
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2010 Alejandro P. Revilla * * 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 ...
jpaoletti/jPOS-Presentation-Manager
modules/pm_struts/src/org/jpos/ee/pm/struts/actions/FieldProcessingActionSupport.java
Java
agpl-3.0
5,057
include SessionHelper describe API::AssignmentsController do let(:course) { create :course, status: true } let(:student) { create(:course_membership, :student, course: course).user } let(:professor) { create(:course_membership, :professor, course: course).user } let!(:assignment) { create(:assignment, course:...
UM-USElab/gradecraft-development
spec/controllers/api/assignments_controller_spec.rb
Ruby
agpl-3.0
5,527
<p>Sorry no content could be found.</p>
proudcity/wp-proud-core
modules/proud-teasers/templates/teasers-empty.php
PHP
agpl-3.0
39
<?php /** * @author Morris Jobke <hey@morrisjobke.de> * @author Robin Appelman <icewind@owncloud.com> * * @copyright Copyright (c) 2015, ownCloud, Inc. * @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...
lrytz/core
lib/private/hooks/legacyemitter.php
PHP
agpl-3.0
1,041
from collections import defaultdict from fs.errors import ResourceNotFoundError import logging import inspect import re from path import path from django.http import Http404 from django.conf import settings from .module_render import get_module from xmodule.course_module import CourseDescriptor from xmodule.modulestor...
abo-abo/edx-platform
lms/djangoapps/courseware/courses.py
Python
agpl-3.0
11,362
/* * Copyright (c) 2014 * * This file is licensed under the Affero General Public License version 3 * or later. * * See the COPYING-README file. * */ (function() { OC.Update = { _started : false, /** * Start the upgrade process. * * @param $el progress list element */ start: function($el, o...
lrytz/core
core/js/update.js
JavaScript
agpl-3.0
3,085
<?php include_once '../../../lib/defaults.php'; include_once '../fns/require_note.php'; include_once '../../lib/mysqli.php'; list($note, $id, $user) = require_note($mysqli); unset($_SESSION['notes/view/messages']); $base = '../../'; $fnsDir = '../../fns'; include_once "$fnsDir/NoteRevisions/indexOnNote.php"; inclu...
zvini/website
www/notes/history/index.php
PHP
agpl-3.0
1,425
//----------------------------------------------------------------------- // <copyright file="ListaChiamateInCorsoMarkerResult.cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero Ge...
vvfosprojects/sovvf
src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneSoccorso/Marker/ListaChiamateInCorso/ListaChiamateInCorsoMarkerResult.cs
C#
agpl-3.0
1,432
<?php namespace Spec\Minds\Core\Pro; use Minds\Common\Repository\Response; use Minds\Core\Config; use Minds\Core\Pro\Domain; use Minds\Core\Pro\Repository; use Minds\Core\Pro\Settings; use Minds\Core\Pro\Manager as ProManager; use Minds\Core\EntitiesBuilder; use Minds\Entities\User; use PhpSpec\ObjectBehavior; use Pr...
Minds/engine
Spec/Core/Pro/DomainSpec.php
PHP
agpl-3.0
6,166
/* * Copyright 2012 McEvoy Software Ltd. * * 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 p...
FullMetal210/milton2
milton-server/src/main/java/io/milton/http/json/PropPatchJsonResource.java
Java
agpl-3.0
5,053
import io import pytest import databot import pandas as pd from databot.db.utils import Row from databot.exporters.utils import flatten_nested_lists, flatten_nested_dicts, get_level_keys, flatten, sort_fields from databot.exporters import jsonl from databot.exporters import pandas @pytest.fixture def data(): re...
sirex/databot
tests/test_export.py
Python
agpl-3.0
9,232
<?php /** * Ask the server to silently close the connection. * * @author Ivan Shumkov * @package Rediska * @subpackage Commands * @version 0.5.10 * @link http://rediska.geometria-lab.net * @license http://www.opensource.org/licenses/bsd-license.php */ class Rediska_Command_Quit extends Rediska_Command_Abstra...
laclasse-com/php-cas-server
lib/Rediska/Command/Quit.php
PHP
agpl-3.0
1,076
/* * Asqatasun - Automated webpage assessment * Copyright (C) 2008-2020 Asqatasun.org * * This file is part of Asqatasun. * * Asqatasun 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 ve...
Asqatasun/Asqatasun
engine/asqatasun-api/src/main/java/org/asqatasun/entity/audit/Content.java
Java
agpl-3.0
1,871
import request from './request' export type UUID = string export type DateTime = string // for options see class names here: https://github.com/GothenburgBitFactory/taskwarrior/blob/01696a307b6785be973e3e6428e6ade2a3872c1e/src/columns/ColUDA.h#L36 export type TaskwarriorDataType = 'string' | 'numeric' | 'date' | 'dur...
coddingtonbear/inthe.am
ui/src/clients/tasks.ts
TypeScript
agpl-3.0
2,548
############################################################################ # # OSIS stands for Open Student Information System. It's an application # designed to manage the core business of higher education institutions, # such as universities, faculties, institutes and professional schools. # The core bu...
uclouvain/osis_louvain
base/views/learning_units/detail.py
Python
agpl-3.0
2,249