Relicense Javascript code in accordance with project's new license
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later The Additional Permission is designed to permit publicly distributed Javascript code to be relicensed under LGPL-3.0-or-later, but not server-side Javascript code. As such, we've relicensed here static Javscript files under LGPL-3.0-or-later, and those that run as part of build and/or server side under AGPL-3.0-or-later. Note that in future, Javascript files may be updated to be stronger copyleft license with the Additional Permission, particularly if they adapted to run on server side and/or turned into templates. Of course, we'd seek public discussion with the contributor community about such changes. This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
This commit is contained in:
parent
847bc3864c
commit
fc77ee76d6
251 changed files with 254 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
// License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||||
module.exports = {
|
module.exports = {
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
require('./index.es6')
|
require('./index.es6')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var request = require('../common/super-agent-frp')
|
var request = require('../common/super-agent-frp')
|
||||||
|
|
||||||
var a = document.querySelector(".js-event-resendBankConfirmEmail")
|
var a = document.querySelector(".js-event-resendBankConfirmEmail")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
if(app.user)
|
if(app.user)
|
||||||
require('../new/wizard')
|
require('../new/wizard')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
require('../../common/pikaday-timepicker')
|
require('../../common/pikaday-timepicker')
|
||||||
require('../../components/wizard')
|
require('../../components/wizard')
|
||||||
require('../../common/image_uploader')
|
require('../../common/image_uploader')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
|
|
||||||
require('../new/wizard')
|
require('../new/wizard')
|
||||||
var request = require("../../common/client")
|
var request = require("../../common/client")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
require('../../common/pikaday-timepicker')
|
require('../../common/pikaday-timepicker')
|
||||||
require('../../common/restful_resource')
|
require('../../common/restful_resource')
|
||||||
const request = require('../../common/client')
|
const request = require('../../common/client')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const branding = require('../../components/nonprofit-branding')
|
const branding = require('../../components/nonprofit-branding')
|
||||||
const format = require('../../common/format')
|
const format = require('../../common/format')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const soldOut = require('./is-sold-out')
|
const soldOut = require('./is-sold-out')
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
module.exports = g => g.quantity && (g.quantity - g.total_gifts <= 0)
|
module.exports = g => g.quantity && (g.quantity - g.total_gifts <= 0)
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
require('../../common/vendor/bootstrap-tour-standalone')
|
require('../../common/vendor/bootstrap-tour-standalone')
|
||||||
|
|
||||||
var tour_campaign = new Tour({
|
var tour_campaign = new Tour({
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
require('../../timeline')
|
require('../../timeline')
|
||||||
require('../../totals')
|
require('../../totals')
|
||||||
require('./index.es6')
|
require('./index.es6')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const request = require('../common/client')
|
const request = require('../common/client')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const Chart = require('chart.js')
|
const Chart = require('chart.js')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const request = require('../common/request')
|
const request = require('../common/request')
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// Include the cards/fields partial to use with this.
|
// Include the cards/fields partial to use with this.
|
||||||
// Call appl.card_form.create(card_obj) to start the card creation process.
|
// Call appl.card_form.create(card_obj) to start the card creation process.
|
||||||
// Use the appl.card_form.on_fail callback to handle failures.
|
// Use the appl.card_form.on_fail callback to handle failures.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var R = require('ramda')
|
var R = require('ramda')
|
||||||
var request = require('../client')
|
var request = require('../client')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var request = require('../client')
|
var request = require('../client')
|
||||||
|
|
||||||
module.exports = function(npo_id) {
|
module.exports = function(npo_id) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var confirmation = require('./confirmation')
|
var confirmation = require('./confirmation')
|
||||||
var notification = require('./notification')
|
var notification = require('./notification')
|
||||||
var request = require("superagent")
|
var request = require("superagent")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const bind = require('attr-binder')
|
const bind = require('attr-binder')
|
||||||
const Pikaday = require('pikaday')
|
const Pikaday = require('pikaday')
|
||||||
const moment = require('moment')
|
const moment = require('moment')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var confirmation = require('./confirmation')
|
var confirmation = require('./confirmation')
|
||||||
var notification = require('./notification')
|
var notification = require('./notification')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
module.exports = {
|
module.exports = {
|
||||||
helvetica: {family: "'Helvetica Neue', Helvetica, Arial, sans-serif", name: 'Helvetica'},
|
helvetica: {family: "'Helvetica Neue', Helvetica, Arial, sans-serif", name: 'Helvetica'},
|
||||||
futura: {family: "'Futura', Arial, sans-serif", name: 'Futura'},
|
futura: {family: "'Futura', Arial, sans-serif", name: 'Futura'},
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
||||||
module.exports = (classes='') => R.reduce(
|
module.exports = (classes='') => R.reduce(
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// superapi wrapper with our api defaults
|
// superapi wrapper with our api defaults
|
||||||
|
|
||||||
var request = require('superagent')
|
var request = require('superagent')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// BLUES
|
// BLUES
|
||||||
'$dark-turquoise': "#306563"
|
'$dark-turquoise': "#306563"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var confirmation = function(msg, success_cb) {
|
var confirmation = function(msg, success_cb) {
|
||||||
var $confirm_modal = $('#confirmation-modal')
|
var $confirm_modal = $('#confirmation-modal')
|
||||||
var $msg = $confirm_modal.find('.msg')
|
var $msg = $confirm_modal.find('.msg')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
||||||
// Reference: https://en.wikipedia.org/wiki/Luhn_algorithm
|
// Reference: https://en.wikipedia.org/wiki/Luhn_algorithm
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
module.exports = (dir, to, from) =>
|
module.exports = (dir, to, from) =>
|
||||||
` background-image: -webkit-linear-gradient(${dir}, ${to}, ${from});
|
` background-image: -webkit-linear-gradient(${dir}, ${to}, ${from});
|
||||||
background-image: -moz-linear-gradient(${dir}, ${to}, ${from});
|
background-image: -moz-linear-gradient(${dir}, ${to}, ${from});
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var notification = require('./notification')
|
var notification = require('./notification')
|
||||||
|
|
||||||
$('form.dynamic').submit(function(e) {
|
$('form.dynamic').submit(function(e) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// if you are instantiating more than one WYSIWYG on a page,
|
// if you are instantiating more than one WYSIWYG on a page,
|
||||||
// be sure to give them id's to differentiate them
|
// be sure to give them id's to differentiate them
|
||||||
// to avoid unwanted display side effects
|
// to avoid unwanted display side effects
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var el_swapo = {}
|
var el_swapo = {}
|
||||||
|
|
||||||
$('*[swap-in]').each(function(i) {
|
$('*[swap-in]').each(function(i) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var actions = [ 'change', 'click', 'dblclick', 'mousedown', 'mouseup', 'mouseenter', 'mouseleave', 'scroll', 'blur', 'focus', 'input', 'submit', 'keydown', 'keypress', 'keyup' ]
|
var actions = [ 'change', 'click', 'dblclick', 'mousedown', 'mouseup', 'mouseenter', 'mouseleave', 'scroll', 'blur', 'focus', 'input', 'submit', 'keydown', 'keypress', 'keyup' ]
|
||||||
|
|
||||||
function event(id, fn) {
|
function event(id, fn) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// Convert a form to an object literal
|
// Convert a form to an object literal
|
||||||
module.exports = function(form) {
|
module.exports = function(form) {
|
||||||
if(form === undefined) throw new Error("form is undefined")
|
if(form === undefined) throw new Error("form is undefined")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var form = module.exports = {
|
var form = module.exports = {
|
||||||
loading: loading,
|
loading: loading,
|
||||||
showErr: showErr,
|
showErr: showErr,
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var moment = require('moment')
|
var moment = require('moment')
|
||||||
var format = {}
|
var format = {}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// This is a little utility to convert a superagent response that has an error
|
// This is a little utility to convert a superagent response that has an error
|
||||||
// into a readable single string message
|
// into a readable single string message
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const format = require('../common/format')
|
const format = require('../common/format')
|
||||||
require('../common/restful_resource')
|
require('../common/restful_resource')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
|
|
||||||
var geo = {}
|
var geo = {}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flimflam/flyd')
|
const flyd = require('flimflam/flyd')
|
||||||
const request = require("../common/request")
|
const request = require("../common/request")
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const filter = require('flyd/module/filter')
|
const filter = require('flyd/module/filter')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
$('.image-upload input').change(function(e) {
|
$('.image-upload input').change(function(e) {
|
||||||
var self = this
|
var self = this
|
||||||
appl.def('image_upload.is_selecting', true)
|
appl.def('image_upload.is_selecting', true)
|
||||||
|
|
1
client/js/common/jquery_additions.js
vendored
1
client/js/common/jquery_additions.js
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
$.fn.serializeObject = function() {
|
$.fn.serializeObject = function() {
|
||||||
return this.serializeArray().reduce(function(obj, field) {
|
return this.serializeArray().reduce(function(obj, field) {
|
||||||
if(field.value)
|
if(field.value)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var notification = function(msg, err) {
|
var notification = function(msg, err) {
|
||||||
var el = document.getElementById('js-notification')
|
var el = document.getElementById('js-notification')
|
||||||
if(err) {el.className = 'show error'}
|
if(err) {el.className = 'show error'}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const sanitize = require('./sanitize-slug')
|
const sanitize = require('./sanitize-slug')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
function calculateIOS()
|
function calculateIOS()
|
||||||
{
|
{
|
||||||
var userAgent = window.navigator.userAgent;
|
var userAgent = window.navigator.userAgent;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flimflam/flyd')
|
const flyd = require('flimflam/flyd')
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var $panelsLayout = $('.panelsLayout'),
|
var $panelsLayout = $('.panelsLayout'),
|
||||||
$panelsLayoutBody = $panelsLayout.find('.panelsLayout-body'),
|
$panelsLayoutBody = $panelsLayout.find('.panelsLayout-body'),
|
||||||
$sidePanel = $panelsLayoutBody.find('.sidePanel'),
|
$sidePanel = $panelsLayoutBody.find('.sidePanel'),
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const bind = require('attr-binder')
|
const bind = require('attr-binder')
|
||||||
const Pikaday = require('pikaday-time')
|
const Pikaday = require('pikaday-time')
|
||||||
const moment = require('moment')
|
const moment = require('moment')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// Console fallback
|
// Console fallback
|
||||||
if (!window.console) {
|
if (!window.console) {
|
||||||
window.console = new function() {
|
window.console = new function() {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const request = require('flyd-ajax')
|
const request = require('flyd-ajax')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
/* A simple module for dealing with ajax-based resources in viewscript
|
/* A simple module for dealing with ajax-based resources in viewscript
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
module.exports = str =>
|
module.exports = str =>
|
||||||
str.trim().toLowerCase()
|
str.trim().toLowerCase()
|
||||||
.replace(/\s*[^A-Za-z0-9\-]\s*/g, '-') // Replace any oddballs with a hyphen
|
.replace(/\s*[^A-Za-z0-9\-]\s*/g, '-') // Replace any oddballs with a hyphen
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
module.exports = function(el, className, parentClass) {
|
module.exports = function(el, className, parentClass) {
|
||||||
var $el = $(el)
|
var $el = $(el)
|
||||||
var elPxFromTop = $el.offset().top
|
var elPxFromTop = $el.offset().top
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const flyd = require('flimflam/flyd')
|
const flyd = require('flimflam/flyd')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// super-agent with default json and csrf wrappers
|
// super-agent with default json and csrf wrappers
|
||||||
// Also has a FRP api (using flyd) rather than the default '.end'
|
// Also has a FRP api (using flyd) rather than the default '.end'
|
||||||
// Every call to .perform() returns a flyd stream
|
// Every call to .perform() returns a flyd stream
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// super-agent with default json and csrf wrappers
|
// super-agent with default json and csrf wrappers
|
||||||
// Also has a Promise api ('.then' and '.catch') rather than the default '.end'
|
// Also has a Promise api ('.then' and '.catch') rather than the default '.end'
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const flyd_every = require('flyd/module/every')
|
const flyd_every = require('flyd/module/every')
|
||||||
const moment = require('moment-timezone')
|
const moment = require('moment-timezone')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// Utilities!
|
// Utilities!
|
||||||
// XXX remove this whole file and split into modules with specific concerns
|
// XXX remove this whole file and split into modules with specific concerns
|
||||||
const phoneFormatter = require('phone-formatter');
|
const phoneFormatter = require('phone-formatter');
|
||||||
|
|
1
client/js/common/vendor/Chart.min.js
vendored
1
client/js/common/vendor/Chart.min.js
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
/*!
|
/*!
|
||||||
* Chart.js
|
* Chart.js
|
||||||
* http://chartjs.org/
|
* http://chartjs.org/
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
/* ===========================================================
|
/* ===========================================================
|
||||||
# bootstrap-tour - v0.9.3
|
# bootstrap-tour - v0.9.3
|
||||||
# http://bootstraptour.com
|
# http://bootstraptour.com
|
||||||
|
|
1
client/js/common/vendor/bootstrap.js
vendored
1
client/js/common/vendor/bootstrap.js
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
/*!
|
/*!
|
||||||
* Bootstrap v3.3.2 (http://getbootstrap.com)
|
* Bootstrap v3.3.2 (http://getbootstrap.com)
|
||||||
* Copyright 2011-2015 Twitter, Inc.
|
* Copyright 2011-2015 Twitter, Inc.
|
||||||
|
|
1
client/js/common/vendor/colpick.js
vendored
1
client/js/common/vendor/colpick.js
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
/*
|
/*
|
||||||
colpick Color Picker
|
colpick Color Picker
|
||||||
Copyright 2013 Jose Vargas. Licensed under GPL license. Based on Stefan Petre's Color Picker www.eyecon.ro, dual licensed under the MIT and GPL licenses
|
Copyright 2013 Jose Vargas. Licensed under GPL license. Based on Stefan Petre's Color Picker www.eyecon.ro, dual licensed under the MIT and GPL licenses
|
||||||
|
|
1
client/js/common/vendor/jquery.cookie.js
vendored
1
client/js/common/vendor/jquery.cookie.js
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
/*!
|
/*!
|
||||||
* jQuery Cookie Plugin v1.4.1
|
* jQuery Cookie Plugin v1.4.1
|
||||||
* https://github.com/carhartl/jquery-cookie
|
* https://github.com/carhartl/jquery-cookie
|
||||||
|
|
1
client/js/common/vendor/masonry.js
vendored
1
client/js/common/vendor/masonry.js
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
/*!
|
/*!
|
||||||
* Salvattore 1.0.8 by @rnmp and @ppold
|
* Salvattore 1.0.8 by @rnmp and @ppold
|
||||||
* https://github.com/rnmp/salvattore
|
* https://github.com/rnmp/salvattore
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var request = require('../../common/client')
|
var request = require('../../common/client')
|
||||||
|
|
||||||
module.exports = function(url, type) {
|
module.exports = function(url, type) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const flyd = require('flimflam/flyd')
|
const flyd = require('flimflam/flyd')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
// see https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding
|
// see https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding
|
||||||
// used for encoded and decoding data for email text
|
// used for encoded and decoding data for email text
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const brandColors = require('../components/nonprofit-branding')
|
const brandColors = require('../components/nonprofit-branding')
|
||||||
|
|
||||||
$('[if-branded]').each(function() {
|
$('[if-branded]').each(function() {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var chartOptions = {}
|
var chartOptions = {}
|
||||||
|
|
||||||
chartOptions.default = {
|
chartOptions.default = {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const uuid = require('uuid')
|
const uuid = require('uuid')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const uuid = require('uuid')
|
const uuid = require('uuid')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const moment = require('moment')
|
const moment = require('moment')
|
||||||
require('moment-range')
|
require('moment-range')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var Pikaday = require('pikaday')
|
var Pikaday = require('pikaday')
|
||||||
var moment = require('moment')
|
var moment = require('moment')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
|
|
||||||
module.exports = (name, placeholder, value) => {
|
module.exports = (name, placeholder, value) => {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const dragula = require('dragula')
|
const dragula = require('dragula')
|
||||||
const serialize = require('form-serialize')
|
const serialize = require('form-serialize')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const request = require('../common/request')
|
const request = require('../common/request')
|
||||||
const flatMap = require('flyd/module/flatmap')
|
const flatMap = require('flyd/module/flatmap')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const b64 = require('./b64')
|
const b64 = require('./b64')
|
||||||
|
|
||||||
module.exports = o => {
|
module.exports = o => {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const validatedForm = require('flimflam/ui/validated-form')
|
const validatedForm = require('flimflam/ui/validated-form')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
if(app.header_image_url) {
|
if(app.header_image_url) {
|
||||||
var cssString = "display: block; background-image: url(" + app.header_image_url + ")"
|
var cssString = "display: block; background-image: url(" + app.header_image_url + ")"
|
||||||
document.getElementById('js-fundraisingHeader').className ='fundraisingHeader--image container'
|
document.getElementById('js-fundraisingHeader').className ='fundraisingHeader--image container'
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var request = require('../../common/client')
|
var request = require('../../common/client')
|
||||||
var map_options = require('./default_options')
|
var map_options = require('./default_options')
|
||||||
var cc_map = {}
|
var cc_map = {}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var styles = require('./styles');
|
var styles = require('./styles');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
module.exports = function(){
|
module.exports = function(){
|
||||||
if(app.nonprofit.latitude) {
|
if(app.nonprofit.latitude) {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var Styles = {}
|
var Styles = {}
|
||||||
|
|
||||||
// style credit: https://snazzymaps.com/style/1735/discreet
|
// style credit: https://snazzymaps.com/style/1735/discreet
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const modal = require('flimflam/ui/modal')
|
const modal = require('flimflam/ui/modal')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const color = require('color')
|
const color = require('color')
|
||||||
|
|
||||||
var brandColor = app.nonprofit.brand_color || '#5FB88D'
|
var brandColor = app.nonprofit.brand_color || '#5FB88D'
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const classObject = require('../common/class-object')
|
const classObject = require('../common/class-object')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const flyd = require('flyd')
|
const flyd = require('flyd')
|
||||||
const h = require('snabbdom/h')
|
const h = require('snabbdom/h')
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
var h = require("virtual-dom/h")
|
var h = require("virtual-dom/h")
|
||||||
|
|
||||||
// a constructor function for creating radio-label pairs
|
// a constructor function for creating radio-label pairs
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const R = require('ramda')
|
const R = require('ramda')
|
||||||
const h = require('flimflam/h')
|
const h = require('flimflam/h')
|
||||||
const uuid = require('uuid')
|
const uuid = require('uuid')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: LGPL-3.0-or-later
|
||||||
const snabbdom = require('snabbdom')
|
const snabbdom = require('snabbdom')
|
||||||
const render = require('ff-core/render')
|
const render = require('ff-core/render')
|
||||||
const activities = require('./public-activities')
|
const activities = require('./public-activities')
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue