repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
nephthys/Nouweo_PHP | inc/lib/users/count_all_mbr.php | 1064 | <?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... | agpl-3.0 |
sgmap/impact | client/app/dashboard/users/partenaires/edit.controller.js | 439 | '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... | agpl-3.0 |
vvfosprojects/sovvf | src/frontend/launcherComponent/src/app/shared/store/states/triage-chiamata-modal/triage-chiamata-modal.state.ts | 6729 | 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 {
... | agpl-3.0 |
garrettr/securedrop | securedrop/tests/functional/test_source_notfound.py | 256 | import source_navigation_steps
import functional_test
class TestSourceInterfaceNotFound(
functional_test.FunctionalTest,
source_navigation_steps.SourceNavigationStepsMixin):
def test_not_found(self):
self._source_not_found()
| agpl-3.0 |
ik4tekniker/FISTAR-Health-Questionnaire-SE | HQSE_code/HQSE_WebServices_Code_BETA/commons.mng.bo/src/main/java/es/tekniker/framework/ktek/entity/KtekLoginEntity.java | 3255 | /*
*
* 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... | agpl-3.0 |
nschmidtg/simpla | utils/analyzers/cards_from_mun_analyzer.rb | 319 | 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 | agpl-3.0 |
vistadataproject/MVDM | vprEmulator/vprEmulatorPatientModel.js | 3784 | '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... | agpl-3.0 |
osuripple/pep.py | events/setAwayMessageEvent.py | 743 | 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... | agpl-3.0 |
Opentronix/Opentronix | upload/themes/default/html/settings_delaccount.php | 2687 | <?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"><... | agpl-3.0 |
daonb/tumulus | tumuli/wsgi.py | 389 | """
WSGI config for tumuli project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTIN... | agpl-3.0 |
afshinnj/php-mvc | assets/framework/ckeditor/plugins/specialchar/lang/de-ch.js | 319 | /*
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'
} );
| agpl-3.0 |
tuliolages/mapasculturais | src/protected/application/themes/BaseV1/layouts/parts/home-events.php | 2629 | <?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... | agpl-3.0 |
perzyje/prog-training-oct2012 | day15/src/main/java/com/codingbat/String2.java | 8849 | 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... | agpl-3.0 |
creativecommons/www2015 | _source/_attachments/2014-08-21-screenshot-2014-08-21-14-45-03-3.html | 767 | ---
layout: attachment
title: Screenshot 2014-08-21 14.45.03
date: 2014-08-21 14:52:38.000000000 -04:00
categories: []
tags: []
status: inherit
type: attachment
published: false
meta:
_wp_attached_file: 2014/08/Screenshot-2014-08-21-14.45.032.png
_wp_attachment_metadata: a:4:{s:5:"width";i:640;s:6:"height";i:268;s:... | agpl-3.0 |
iesoretania/atica.old | server/upload/index.php | 7441 | <?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');
//... | agpl-3.0 |
cpennington/course-discovery | course_discovery/urls.py | 1899 | """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... | agpl-3.0 |
nicholasryan/CorePlus | src/core/libs/html2text/test/LinkTest.php | 2604 | <?php
namespace Html2Text;
use PHPUnit\Framework\TestCase;
class LinkTest extends TestCase
{
const TEST_HTML = '<a href="http://example.com">Link text</a>';
public function testDoLinksAfter()
{
$expected =<<<EOT
Link text [1]
Links:
------
[1] http://example.com
EOT;
$html2text = new ... | agpl-3.0 |
OCA/project | project_duplicate_subtask/tests/test_project_duplicate_subtask.py | 1104 | # Copyright (C) 2021 ForgeFlow S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)
from odoo.tests.common import TransactionCase
class TestProjectDuplicateSubtask(TransactionCase):
def setUp(self):
super().setUp()
self.project1 = self.env["project.project"].create({"name": ... | agpl-3.0 |
agoravoting/agora-gui-admin | avAdmin/admin-directives/elcensus/add-csv-modal.js | 1844 | /**
* 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... | agpl-3.0 |
aurelien-rainone/spaghetto | src/client/app/blocks/logger/loglisteners.js | 3869 | (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... | agpl-3.0 |
Champs-Libres/ChillPersonBundle | Entity/Person.php | 19339 | <?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... | agpl-3.0 |
zcopley/zcopleys-statusnet-clone | actions/register.php | 22427 | <?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,... | agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/libOTe/cryptoTools/cryptoTools/Common/CLP.cpp | 4799 | #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++;
... | agpl-3.0 |
tis-innovation-park/carsharing-ds | src/main/java/it/bz/tis/integreen/carsharingbzit/ConnectorLogic.java | 14481 | /*
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 ... | agpl-3.0 |
Sundsvallskommun/OpenEMap-WebUserInterface | src/main/javascript/action/Print.js | 9608 | /*
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... | agpl-3.0 |
mapequation/infomap | src/core/MemMapEquation.h | 6260 | /*
* MemMapEquation.h
*
* Created on: 4 mar 2015
* Author: Daniel
*/
#ifndef MODULES_CLUSTERING_CLUSTERING_MEMMAPEQUATION_H_
#define MODULES_CLUSTERING_CLUSTERING_MEMMAPEQUATION_H_
#include "MapEquation.h"
#include "FlowData.h"
// #include "InfoNode.h"
#include "../utils/Log.h"
#include <vector>
#include <... | agpl-3.0 |
Anup-Allamsetty/pure | src/modules/oembed/oEmbed.js | 3946 | /* @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... | agpl-3.0 |
agoravoting/authapi | authapi/captcha/urls.py | 874 | # 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... | agpl-3.0 |
dzc34/Asqatasun | documentation/en/90_Rules/rgaa3.0/07.Scripts/Rule-7-1-6.md | 1118 | # RGAA 3.0 - Rule 7.1.6
## Summary
No-check rule
## Business description
### Criterion
[7.1](http://asqatasun.github.io/RGAA--3.0--EN/RGAA3.0_Criteria_English_version_v1.html#crit-7-1)
###Test
[7.1.6](http://asqatasun.github.io/RGAA--3.0--EN/RGAA3.0_Criteria_English_version_v1.html#test-7.1.6)
### Description
... | agpl-3.0 |
ging/isabel | components/gateway/GWSIP/mjsip_1.6/src/org/zoolu/sip/provider/SipInterfaceListener.java | 1263 | /*
* 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 ... | agpl-3.0 |
WaywardRealms/Wayward | WaywardChat/src/main/java/net/wayward_realms/waywardchat/irc/IrcMessageListener.java | 872 | 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... | agpl-3.0 |
dhongu/l10n-romania | l10n_ro_invoice_report/__manifest__.py | 887 | # © 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.... | agpl-3.0 |
konnnGit/University | studentsPerformanceManipulation/Students'_performance_manipulation.c | 4182 | /*Students' performance manipulation*/
/*Konstantinos Spalas, cst08094
* Only me in group */
#include <stdio.h>
#define N 3//Here we change the amount of students allowed to store.Now is until three.
//All the functions take as parameter the array of students
//Presume that the values(ID,age,sex and degree) stored... | agpl-3.0 |
MatthiasApsel/cforum | db/structure.sql | 106037 | SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
--
-- N... | agpl-3.0 |
jslet/jslet | democn/dbcontrol/table/basic.js | 3253 | (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... | agpl-3.0 |
ACEmulator/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Key/Key/00603 Key.sql | 2191 | DELETE FROM `weenie` WHERE `class_Id` = 603;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (603, 'dungeonkey4', 22, '2019-02-10 00:00:00') /* Key */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (603, 1, 16384) /* ItemType - Key */
, (603, 5... | agpl-3.0 |
hamstar0/tml-hamstarhelpers-mod | HamstarHelpers/Services/Network/Scraper/ScrapedSentData.cs | 2038 | 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... | agpl-3.0 |
instructure/canvas-contrib | SIS Integration/Examples/README.md | 640 | Windows-based SIS Integration Examples
======
This folder includes examples of code that can be used to integrate
SIS systems with Canvas. These are relatively simple but can serve
as a framework on which you can build.
As always, this is provided AS-IS, without warranty, and without any
support beyond this document ... | agpl-3.0 |
atomicjolt/demo_arigato | app/models/concerns/google_client.rb | 212 | 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
| agpl-3.0 |
johannesk/filehosting | lib/filehosting/sampledatasource.rb | 1149 | #
# 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... | agpl-3.0 |
dzc34/Asqatasun | rules/rules-rgaa3.0/src/main/java/org/asqatasun/rules/rgaa30/Rgaa30Rule120401.java | 1491 | /*
* 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 |
bytepark/snipe-it | app/Models/AssetModel.php | 7207 | <?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... | agpl-3.0 |
Comunitea/CMNT_004_15 | project-addons/product_outlet_loss/models/product.py | 1853 | ##############################################################################
#
# 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... | agpl-3.0 |
kaltura/server | api_v3/lib/types/report/export/KalturaReportExportFile.php | 628 | <?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()
{
... | agpl-3.0 |
grafana/grafana | packages/jaeger-ui-components/src/constants/index.tsx | 1036 | // 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... | agpl-3.0 |
MimocomMedia/kaltura | package/app/app/alpha/apps/kaltura/lib/batch2/kBatchManager.php | 12374 | <?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... | agpl-3.0 |
ak1211/tractor | test/MatsuiCoJp/https%3A%2F%2Fwww.deal.matsui.co.jp%2Fservlet%2FITS%2Fstock%2FStkHavingList.utf8.01.html | 12140 | <!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--StkHavingList-->
<HTML>
<HEAD>
<META http-equiv="content-type" content="text/html; charset=Shift_JIS">
<TITLE>松井証券</TITLE>
<SCRIPT language="JavaScript">
<!--
var sent=false;
function sendCheck(){
if(sent){
return false;
}else{
sent=true;
return true;
}... | agpl-3.0 |
astrobin/astrobin | astrobin/static/astrobin/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js | 5574 | /**
* @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: [
{
... | agpl-3.0 |
weldermarcosxd/Ionic-Sliding-Test | platforms/android/assets/www/model/teste.php | 467 | <?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 ... | agpl-3.0 |
nars1/YottaDBtest | com/gencert.sh | 6260 | #!/bin/sh
#################################################################
# #
# Copyright 2013 Fidelity Information Services, Inc #
# #
# This source code contains the intellectual property #
# of its copyright holder(s), and is made available #
# under a license. If you do not know the terms of #
# th... | agpl-3.0 |
interactomix/iis | test_utils/base.py | 1749 | import tempfile
from datetime import datetime
import flask_testing
from flask import url_for
import iis
from iis.models import User
from iis.extensions import db
class BaseTestCase(flask_testing.TestCase):
DB_FILE = tempfile.mkstemp()
SQLALCHEMY_DATABASE_URI = "sqlite:///" + DB_FILE[1]
LOGGING = {"versi... | agpl-3.0 |
ComputationalModeling/spring-2017-danielak | docs/_docs/health-resources/mental-health.md | 1018 | ---
title: Mental Health
category: Health Resources
---
### [Counseling Services][1]
> **Any student** registered for one or more credits is eligible for a consultation - assessment interview. [Source](http://olin.msu.edu/services/couns_psych.htm)
#### How do I get help?
| Call | (517) 355-8270 ... | agpl-3.0 |
TALP-UPC/freeling | src/libfreeling/semdb.cc | 9732 | //////////////////////////////////////////////////////////////////
//
// 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 ... | agpl-3.0 |
unicef/rhizome | webapp/src/components/highchart/themes.js | 663 | 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... | agpl-3.0 |
jdelacueva/django-isegory | setup.py | 1049 | 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='... | agpl-3.0 |
calpaterson/recall | src/recall/people.py | 3665 | # 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
# ... | agpl-3.0 |
CountOrlok/cforum | spec/controllers/messages_controller_spec.rb | 8350 | # -*- 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 = ... | agpl-3.0 |
asm-products/pants-party | templates/base.html | 13478 | <!doctype html>
<html lang="en" ng-app="PantsParty">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Pants.Party</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
... | agpl-3.0 |
jpaoletti/jPOS-Presentation-Manager | modules/pm_struts/src/org/jpos/ee/pm/struts/actions/FieldProcessingActionSupport.java | 5057 | /*
* 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 ... | agpl-3.0 |
mariobarbareschi/stm32-compiler-docker | STM32Cube_FW_F4_V1.11.0/Projects/STM324x9I_EVAL/Examples/GPIO/GPIO_EXTI/Inc/stm32f4xx_it.h | 3197 | /**
******************************************************************************
* @file GPIO/GPIO_EXTI/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.3.3
* @date 29-January-2016
* @brief This file contains the headers of the interrupt handlers.
************************... | agpl-3.0 |
UM-USElab/gradecraft-development | spec/controllers/api/assignments_controller_spec.rb | 5527 | 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:... | agpl-3.0 |
proudcity/wp-proud-core | modules/proud-teasers/templates/teasers-empty.php | 39 | <p>Sorry no content could be found.</p> | agpl-3.0 |
lrytz/core | lib/private/hooks/legacyemitter.php | 1041 | <?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... | agpl-3.0 |
RAMSProject/rams | uber/static/theme/prereg.css | 5045 | html, body {
min-height: 100%;
}
.masthead {
width: 100%; /* Always fill the available width */
padding-top: 24.63%; /* The height is 24.63% of the width (200px / 812px) */
background-image: url("../theme/banner.png");
background-repeat: no-repeat;
background-position: 50% 50%;
background... | agpl-3.0 |
abo-abo/edx-platform | lms/djangoapps/courseware/courses.py | 11362 | 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... | agpl-3.0 |
ivaylokenov/MyTested.Mvc | test/MyTested.AspNetCore.Mvc.Versioning.Test/BuildersTests/PipelineTests/WhichControllerInstanceBuilderTests.cs | 1296 | namespace MyTested.AspNetCore.Mvc.Test.BuildersTests.PipelineTests
{
using Setups.Controllers;
using Xunit;
public class WhichControllerInstanceBuilderTests
{
[Fact]
public void PipelineAssertionShouldWorkCorrectlyWithVersioning()
{
MyPipeline
.Confi... | agpl-3.0 |
printedheart/opennars | nars_lab_x/main/java/nars/prolog/VarTestCase.java | 369 | package prolog;
import junit.framework.TestCase;
import nars.tuprolog.Var;
public class VarTestCase extends TestCase {
public void testIsAtomic() {
assertFalse(new Var("X").isAtomic());
}
public void testIsAtom() {
assertFalse(new Var("X").isAtom());
}
public void testIsCompound() {
a... | agpl-3.0 |
lrytz/core | core/js/update.js | 3085 | /*
* 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... | agpl-3.0 |
zvini/website | www/notes/history/index.php | 1425 | <?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... | agpl-3.0 |
gallir/Meneame | README.md | 159 | Menéame
=======
Source code for the social aggregator https://www.meneame.net (central repository)
CODE MIGRATED TO https://github.com/Meneame/meneame.net
| agpl-3.0 |
shentino/kotaka | mud/home/Game/initd.c | 3367 | /*
* This file is part of Kotaka, a mud library for DGD
* http://github.com/shentino/kotaka
*
* Copyright (C) 2018, 2020, 2021 Raymond Jennings
*
* 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 Softw... | agpl-3.0 |
nyee32/Senior_Project | lte/CandidateCellInfo-r10.c | 3754 | /*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-InterNodeDefinitions"
* found in "36331-ac0.asn"
* `asn1c -S /home/nyee/srsLTE/srslte/examples/src/asn1c/skeletons -fcompound-names -fskeletons-copy -gen-PER -pdu=auto`
*/
#include "CandidateCellInfo-r10.h"
static asn_TYPE_mem... | agpl-3.0 |
vvfosprojects/sovvf | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneSoccorso/Marker/ListaChiamateInCorso/ListaChiamateInCorsoMarkerResult.cs | 1432 | //-----------------------------------------------------------------------
// <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... | agpl-3.0 |
Minds/engine | Spec/Core/Pro/DomainSpec.php | 6166 | <?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... | agpl-3.0 |
Pezmc/LDAP-Gaming-Signup | README.md | 96 | LDAP-Gaming-Signup
==================
An LDAP based signup for the GamingSociety at Manchester
| agpl-3.0 |
FullMetal210/milton2 | milton-server/src/main/java/io/milton/http/json/PropPatchJsonResource.java | 5053 | /*
* 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... | agpl-3.0 |
sirex/databot | tests/test_export.py | 9232 | 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... | agpl-3.0 |
laclasse-com/php-cas-server | lib/Rediska/Command/Quit.php | 1076 | <?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... | agpl-3.0 |
Asqatasun/Asqatasun | engine/asqatasun-api/src/main/java/org/asqatasun/entity/audit/Content.java | 1871 | /*
* 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... | agpl-3.0 |
pculture/mirocommunity | localtv/templates/localtv/__base.html | 4464 | {% load uploadtemplate i18n daguerre compress %}
{% load url from future %}
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt ... | agpl-3.0 |
coddingtonbear/inthe.am | ui/src/clients/tasks.ts | 2548 | 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... | agpl-3.0 |
uclouvain/osis_louvain | base/views/learning_units/detail.py | 2249 | ############################################################################
#
# 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... | agpl-3.0 |
kobronson/cs-voltdb | src/frontend/org/voltdb/plannodes/SchemaColumn.java | 8242 | /* 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... | agpl-3.0 |
shenan4321/BIMplatform | generated/cn/dlb/bim/models/store/DoubleType.java | 1970 | /**
* Copyright (C) 2009-2014 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This ... | agpl-3.0 |
lebenf/couchtv | templates/viewtitle.html | 6933 | {%extends "base.html"%}
{% comment %}
Copyright 2010 Lorenzo Benfenati, Andrea Zucchelli"
This file is part of MyMovieCollection.
MyMovieCollection 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.... | agpl-3.0 |
wadobo/etruekko | etruekko/templates/clear.html | 60 | {% if not mod3 %}
<div class="clear"></div>
{% endif %}
| agpl-3.0 |
cdparra/reminiscens-book | placebooks-webapp/src/placebooks/client/parser/EnumParser.java | 314 | package placebooks.client.parser;
import com.google.gwt.core.client.JsonUtils;
public abstract class EnumParser<T extends Enum<?>> implements JSONParser<Enum<?>>
{
@Override
public void write(final StringBuilder builder, final Enum<?> object)
{
builder.append(JsonUtils.escapeValue(object.toString()));
}
} | agpl-3.0 |
drobilla/ingen | src/Log.cpp | 3977 | /*
This file is part of Ingen.
Copyright 2007-2016 David Robillard <http://drobilla.net/>
Ingen 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 any later versi... | agpl-3.0 |
nttks/edx-platform | biz/djangoapps/gx_login/views.py | 3215 | """
Views for contract feature
"""
import logging
from edxmako.shortcuts import render_to_response
from django.contrib.auth.models import User
from django.contrib.auth import authenticate, login
from django.shortcuts import redirect
from django.core.urlresolvers import reverse
from biz.djangoapps.ga_manager.models impo... | agpl-3.0 |
credibilityio/credibility-webpy | templates/topic/show.html | 3534 | $def with (id, topic)
$var metatitle: $topic.title ($topic.hashtag)
$var metadesc: $topic.title
$var menu:
$var title:
<div class="span12">
<h2>$topic.title</h2><a href="/topic/$topic.id">$topic.hashtag</a> $topic.votes<a href="/topic/$topic.id/upvote"><i class="icon-star-empty"></i></a></small>
<br>
</div>
<div... | agpl-3.0 |
metreeca/metreeca | docs/versions/0.46/com.metreeca.mill/javadocs/overview-tree.html | 17234 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Thu Jan 25 12:48:29 CET 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class Hierarchy (Metreeca D... | agpl-3.0 |
shoaib-fazal16/yourown | custom/modules/Documents/language/en_us.lang.php | 309 | <?php
// created: 2015-04-10 14:10:28
$mod_strings = array (
'LBL_LEADS' => 'Sellers',
'LBL_ACCOUNTS_SUBPANEL_TITLE' => 'Buyers',
'LBL_AOS_PRODUCTS_DOCUMENTS_2_FROM_AOS_PRODUCTS_TITLE' => 'Properties Information',
'LBL_DOC_ACTIVE_DATE' => 'Document Dated',
'LBL_TEMPLATE_TYPE' => 'Template Type',
); | agpl-3.0 |
FoxelSA/website-demo | basic/tiles/fetesdegeneve2014/assets/content.html | 803 |
<p><img src="<?php print $path.'/'.$set->path; ?>/assets/patek-philippe.png" width="200" height="109" alt="Patek Philippe" style="position:absolute;top:13px;left:-300px;" /></p>
<p><strong>175th Anniversary Patek Philippe supports the Grand Fireworks of the Geneva Festival 2014</strong></p>
<p>At the occasion of its 1... | agpl-3.0 |
hltn/opencps | portlets/opencps-portlet/docroot/WEB-INF/service/org/opencps/dossiermgt/service/persistence/ServiceConfigActionableDynamicQuery.java | 1346 | /**
* Copyright (c) 2000-present 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 la... | agpl-3.0 |
splicemachine/spliceengine | hbase_sql/src/test/java/com/splicemachine/stream/StreamableRDDTest_Failures.java | 19123 | /*
* Copyright (c) 2012 - 2020 Splice Machine, Inc.
*
* This file is part of Splice Machine.
* Splice Machine is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either
* version 3, or (at your option) ... | agpl-3.0 |
dougo/steak-place | public/poll/1998/BC.html | 1482 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML-3.2//EN">
<HTML> <HEAD>
<TITLE></TITLE>
<LINK REV="made" HREF="mailto:dougo@ccs.neu.edu">
</HEAD>
<BODY>
<H1><HR></H1>
<PRE>
From: Bradford Chamberlain <brad-NOSPAM@cs.washington.edu>
To: dougo@ccs.neu.edu
Subject: 1998 faves
Date: Sat, 2 Jan 1999 13:38:41 -0800 (PST)
... | agpl-3.0 |
CrashTestDummies/FIAP | doc/CTD/planer2/function/class-use/CClasses.html | 4251 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_25) on Sun Feb 08 02:34:44 CET 2015 -->
<title>Uses of Class CTD.planer2.function.CClasses</title>
<meta name="date" content="2015-02-08">
<lin... | agpl-3.0 |
simonzhangsm/voltdb | tools/voter.d/voter.py | 2792 | # This file is part of VoltDB.
# Copyright (C) 2008-2018 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 use, c... | agpl-3.0 |
plamut/superdesk | client/app/scripts/superdesk/itemList/itemList_spec.js | 8544 | 'use strict';
describe('itemListService', function() {
beforeEach(module('superdesk.mocks'));
beforeEach(module('superdesk.templates-cache'));
beforeEach(module('superdesk.itemList'));
beforeEach(module(function($provide) {
$provide.service('api', function($q) {
return function ApiS... | agpl-3.0 |
Psycojoker/seeks | src/plugins/websearch/clustering.cpp | 8174 | /**
* The Seeks proxy and plugin framework are part of the SEEKS project.
* Copyright (C) 2009 Emmanuel Benazera, juban@free.fr
*
* 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, eit... | agpl-3.0 |