Relicense all .rb files under new project 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

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

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:
Bradley M. Kuhn 2018-03-25 12:15:39 -04:00
parent 08e04f50b8
commit 6772312ea7
605 changed files with 605 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class ActivitiesController < ApplicationController class ActivitiesController < ApplicationController
before_filter :authenticate_user!, only: [:create] before_filter :authenticate_user!, only: [:create]

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class ApplicationController < ActionController::Base class ApplicationController < ActionController::Base
before_filter :set_locale before_filter :set_locale

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class AwsPresignedPostsController < ApplicationController class AwsPresignedPostsController < ApplicationController
before_filter :authenticate_user! before_filter :authenticate_user!

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class BillingSubscriptionsController < ApplicationController class BillingSubscriptionsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class ButtonDebugController < ApplicationController class ButtonDebugController < ApplicationController
def embedded def embedded
@np = params[:id] || 1 @np = params[:id] || 1

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CampaignGiftOptionsController < ApplicationController class CampaignGiftOptionsController < ApplicationController
include CampaignHelper include CampaignHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CampaignGiftsController < ApplicationController class CampaignGiftsController < ApplicationController
# post /campaign_gifts # post /campaign_gifts

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Campaigns; class CampaignGiftOptionsController < ApplicationController module Campaigns; class CampaignGiftOptionsController < ApplicationController
include CampaignHelper include CampaignHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Campaigns module Campaigns
class DonationsController < ApplicationController class DonationsController < ApplicationController
include CampaignHelper include CampaignHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Campaigns module Campaigns
class SupportersController < ApplicationController class SupportersController < ApplicationController
include CampaignHelper include CampaignHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CampaignsController < ApplicationController class CampaignsController < ApplicationController
include CampaignHelper include CampaignHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CardsController < ApplicationController class CardsController < ApplicationController
before_filter :authenticate_user!, :except => [:create] before_filter :authenticate_user!, :except => [:create]

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class DirectDebitDetailsController < ApplicationController class DirectDebitDetailsController < ApplicationController

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EmailSettingsController < ApplicationController class EmailSettingsController < ApplicationController
include NonprofitHelper include NonprofitHelper
before_filter :authenticate_nonprofit_user! before_filter :authenticate_nonprofit_user!

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EmailsController < ApplicationController class EmailsController < ApplicationController
before_filter :authenticate_user! before_filter :authenticate_user!

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EventDiscountsController < ApplicationController class EventDiscountsController < ApplicationController
include EventHelper include EventHelper
before_filter :authenticate_event_editor!, :except => [:index] before_filter :authenticate_event_editor!, :except => [:index]

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EventsController < ApplicationController class EventsController < ApplicationController
include EventHelper include EventHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class FrontController < ApplicationController class FrontController < ApplicationController

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class ImageAttachmentsController < ApplicationController class ImageAttachmentsController < ApplicationController
before_filter :authenticate_confirmed_user! before_filter :authenticate_confirmed_user!
def create def create

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class MapsController < ApplicationController class MapsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class ActivitiesController < ApplicationController class ActivitiesController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class BankAccountsController < ApplicationController class BankAccountsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class ButtonController < ApplicationController class ButtonController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class CardsController < ApplicationController class CardsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class ChargesController < ApplicationController class ChargesController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class CustomFieldJoinsController < ApplicationController class CustomFieldJoinsController < ApplicationController

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class CustomFieldMastersController < ApplicationController class CustomFieldMastersController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class DonationsController < ApplicationController class DonationsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class EmailListsController < ApplicationController class EmailListsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class ImportsController < ApplicationController class ImportsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class MiscellaneousNpInfosController < ApplicationController class MiscellaneousNpInfosController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class NonprofitKeysController < ApplicationController class NonprofitKeysController < ApplicationController

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class PaymentsController < ApplicationController class PaymentsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class PayoutsController < ApplicationController class PayoutsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class RecurringDonationsController < ApplicationController class RecurringDonationsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class RefundsController < ApplicationController class RefundsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class ReportsController < ApplicationController class ReportsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class SupporterEmailsController < ApplicationController class SupporterEmailsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class SupporterNotesController < ApplicationController class SupporterNotesController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class SupportersController < ApplicationController class SupportersController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class TagJoinsController < ApplicationController class TagJoinsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class TagMastersController < ApplicationController class TagMastersController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module Nonprofits module Nonprofits
class TrackingsController < ApplicationController class TrackingsController < ApplicationController
# POST /nonprofits/:nonprofit_id/tracking # POST /nonprofits/:nonprofit_id/tracking

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class NonprofitsController < ApplicationController class NonprofitsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class PricingController < ApplicationController class PricingController < ApplicationController
include PricingHelper include PricingHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class ProfilesController < ApplicationController class ProfilesController < ApplicationController
helper_method :authenticate_profile_owner! helper_method :authenticate_profile_owner!

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class RecurringDonationsController < ApplicationController class RecurringDonationsController < ApplicationController
def edit def edit

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class RolesController < ApplicationController class RolesController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class SettingsController < ApplicationController class SettingsController < ApplicationController
include NonprofitHelper include NonprofitHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class SuperAdminsController < ApplicationController class SuperAdminsController < ApplicationController
layout "layouts/page" layout "layouts/page"

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class TicketLevelsController < ApplicationController class TicketLevelsController < ApplicationController
include EventHelper include EventHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class TicketsController < ApplicationController class TicketsController < ApplicationController
include EventHelper include EventHelper

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Users::ConfirmationsController < Devise::ConfirmationsController class Users::ConfirmationsController < Devise::ConfirmationsController
# get /confirm # get /confirm

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Users::RegistrationsController < Devise::RegistrationsController class Users::RegistrationsController < Devise::RegistrationsController
respond_to :html, :json respond_to :html, :json

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Users::SessionsController < Devise::SessionsController class Users::SessionsController < Devise::SessionsController
def create def create

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module ApplicationHelper module ApplicationHelper
def resource_name def resource_name

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module CardHelper module CardHelper
def brand_file(brand) def brand_file(brand)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module DeviseHelper module DeviseHelper
def devise_error_messages! def devise_error_messages!
if resource && !resource.errors.empty? if resource && !resource.errors.empty?

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module NonprofitsHelper module NonprofitsHelper
def managed_npo_card_json def managed_npo_card_json

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module PricingHelper module PricingHelper
private private
def nonprofit_email def nonprofit_email

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module ProfilesHelper module ProfilesHelper
def get_shortened_name name def get_shortened_name name

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class AdminMailer < BaseMailer class AdminMailer < BaseMailer
# Subject can be set in your I18n file at config/locales/en.yml # Subject can be set in your I18n file at config/locales/en.yml

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class BaseMailer < ActionMailer::Base class BaseMailer < ActionMailer::Base
include Roadie::Rails::Automatic include Roadie::Rails::Automatic
include Devise::Controllers::UrlHelpers include Devise::Controllers::UrlHelpers

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class BillingSubscriptionMailer < BaseMailer class BillingSubscriptionMailer < BaseMailer
def failed_notice(np_id) def failed_notice(np_id)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CampaignMailer < BaseMailer class CampaignMailer < BaseMailer
def creation_followup(campaign) def creation_followup(campaign)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class DonationMailer < BaseMailer class DonationMailer < BaseMailer
# Used for both one-time and recurring donations # Used for both one-time and recurring donations

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EventMailer < BaseMailer class EventMailer < BaseMailer
helper :application helper :application

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class ExportMailer < BaseMailer class ExportMailer < BaseMailer
# Subject can be set in your I18n file at config/locales/en.yml # Subject can be set in your I18n file at config/locales/en.yml

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class GenericMailer < BaseMailer class GenericMailer < BaseMailer
def generic_mail(from_email, from_name, message, subject, to_email, to_name) def generic_mail(from_email, from_name, message, subject, to_email, to_name)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class ImportMailer < BaseMailer class ImportMailer < BaseMailer
def import_completed_notification(import_id) def import_completed_notification(import_id)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class NonprofitAdminMailer < BaseMailer class NonprofitAdminMailer < BaseMailer
def new_invite(role, raw_token) def new_invite(role, raw_token)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class NonprofitMailer < BaseMailer class NonprofitMailer < BaseMailer
def failed_verification_notice(np) def failed_verification_notice(np)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class PaymentMailer < BaseMailer class PaymentMailer < BaseMailer
# Send a donation receipt to a single admin # Send a donation receipt to a single admin

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class RecurringDonationMailer < BaseMailer class RecurringDonationMailer < BaseMailer
def send_cancellation_notices(recurring_donation) def send_cancellation_notices(recurring_donation)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Testing < ActionMailer::Base class Testing < ActionMailer::Base
default from: "from@example.com" default from: "from@example.com"
end end

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class TicketMailer < BaseMailer class TicketMailer < BaseMailer
helper :application helper :application

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class UserMailer < BaseMailer class UserMailer < BaseMailer
def refund_receipt(refund_id) def refund_receipt(refund_id)

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Activity < ActiveRecord::Base class Activity < ActiveRecord::Base
end end

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class BankAccount < ActiveRecord::Base class BankAccount < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class BillingPlan < ActiveRecord::Base class BillingPlan < ActiveRecord::Base
Names = ['Starter', 'Fundraising', 'Supporter Management'] Names = ['Starter', 'Fundraising', 'Supporter Management']
DefaultAmounts = [0, 9900, 29900] # in pennies DefaultAmounts = [0, 9900, 29900] # in pennies

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class BillingSubscription < ActiveRecord::Base class BillingSubscription < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Campaign < ActiveRecord::Base class Campaign < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CampaignGift < ActiveRecord::Base class CampaignGift < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CampaignGiftOption < ActiveRecord::Base class CampaignGiftOption < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Card < ActiveRecord::Base class Card < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
# A Charge represents a potential debit to a nonprofit's account on a credit card donation action. # A Charge represents a potential debit to a nonprofit's account on a credit card donation action.
class Charge < ActiveRecord::Base class Charge < ActiveRecord::Base

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Comment < ActiveRecord::Base class Comment < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Coupon < ActiveRecord::Base class Coupon < ActiveRecord::Base
attr_accessible \ attr_accessible \
:name, :name,

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CustomFieldJoin < ActiveRecord::Base class CustomFieldJoin < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class CustomFieldMaster < ActiveRecord::Base class CustomFieldMaster < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class DirectDebitDetail < ActiveRecord::Base class DirectDebitDetail < ActiveRecord::Base
attr_accessible :iban, :account_holder_name, :bic, :supporter_id, :holder attr_accessible :iban, :account_holder_name, :bic, :supporter_id, :holder

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Dispute < ActiveRecord::Base class Dispute < ActiveRecord::Base
Reasons = [:unrecognized, :duplicate, :fraudulent, :subscription_canceled, :product_unacceptable, :product_not_received, :unrecognized, :credit_not_processed, :goods_services_returned_or_refused, :goods_services_cancelled, :incorrect_account_details, :insufficient_funds, :bank_cannot_process, :debit_not_authorized, :general] Reasons = [:unrecognized, :duplicate, :fraudulent, :subscription_canceled, :product_unacceptable, :product_not_received, :unrecognized, :credit_not_processed, :goods_services_returned_or_refused, :goods_services_cancelled, :incorrect_account_details, :insufficient_funds, :bank_cannot_process, :debit_not_authorized, :general]

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Donation < ActiveRecord::Base class Donation < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EmailDraft < ActiveRecord::Base class EmailDraft < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EmailSetting < ActiveRecord::Base class EmailSetting < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Event < ActiveRecord::Base class Event < ActiveRecord::Base
attr_accessible \ attr_accessible \

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class EventDiscount < ActiveRecord::Base class EventDiscount < ActiveRecord::Base
attr_accessible \ attr_accessible \
:code, :code,

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class Export < ActiveRecord::Base class Export < ActiveRecord::Base
STATUS = %w[queued started completed failed].freeze STATUS = %w[queued started completed failed].freeze

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class FullContactInfo < ActiveRecord::Base class FullContactInfo < ActiveRecord::Base
attr_accessible \ attr_accessible \
:email, :email,

View file

@ -1,3 +1,4 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class FullContactOrg < ActiveRecord::Base class FullContactOrg < ActiveRecord::Base
attr_accessible \ attr_accessible \

Some files were not shown because too many files have changed in this diff Show more