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:
parent
08e04f50b8
commit
6772312ea7
605 changed files with 605 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class ActivitiesController < ApplicationController
|
||||
|
||||
before_filter :authenticate_user!, only: [:create]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class ApplicationController < ActionController::Base
|
||||
before_filter :set_locale
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class AwsPresignedPostsController < ApplicationController
|
||||
before_filter :authenticate_user!
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class BillingSubscriptionsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class ButtonDebugController < ApplicationController
|
||||
def embedded
|
||||
@np = params[:id] || 1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CampaignGiftOptionsController < ApplicationController
|
||||
include CampaignHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CampaignGiftsController < ApplicationController
|
||||
|
||||
# post /campaign_gifts
|
||||
|
|
|
@ -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
|
||||
include CampaignHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Campaigns
|
||||
class DonationsController < ApplicationController
|
||||
include CampaignHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Campaigns
|
||||
class SupportersController < ApplicationController
|
||||
include CampaignHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CampaignsController < ApplicationController
|
||||
include CampaignHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CardsController < ApplicationController
|
||||
|
||||
before_filter :authenticate_user!, :except => [:create]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class DirectDebitDetailsController < ApplicationController
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EmailSettingsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
before_filter :authenticate_nonprofit_user!
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EmailsController < ApplicationController
|
||||
before_filter :authenticate_user!
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EventDiscountsController < ApplicationController
|
||||
include EventHelper
|
||||
before_filter :authenticate_event_editor!, :except => [:index]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EventsController < ApplicationController
|
||||
include EventHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class FrontController < ApplicationController
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class ImageAttachmentsController < ApplicationController
|
||||
before_filter :authenticate_confirmed_user!
|
||||
def create
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class MapsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class ActivitiesController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class BankAccountsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class ButtonController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class CardsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class ChargesController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class CustomFieldJoinsController < ApplicationController
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class CustomFieldMastersController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class DonationsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class EmailListsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class ImportsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class MiscellaneousNpInfosController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
|
||||
module Nonprofits
|
||||
class NonprofitKeysController < ApplicationController
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class PaymentsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class PayoutsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class RecurringDonationsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class RefundsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class ReportsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class SupporterEmailsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class SupporterNotesController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class SupportersController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class TagJoinsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class TagMastersController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module Nonprofits
|
||||
class TrackingsController < ApplicationController
|
||||
# POST /nonprofits/:nonprofit_id/tracking
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class NonprofitsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class PricingController < ApplicationController
|
||||
include PricingHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class ProfilesController < ApplicationController
|
||||
|
||||
helper_method :authenticate_profile_owner!
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class RecurringDonationsController < ApplicationController
|
||||
|
||||
def edit
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class RolesController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class SettingsController < ApplicationController
|
||||
include NonprofitHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class SuperAdminsController < ApplicationController
|
||||
layout "layouts/page"
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class TicketLevelsController < ApplicationController
|
||||
include EventHelper
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class TicketsController < ApplicationController
|
||||
include EventHelper
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
# get /confirm
|
||||
|
|
|
@ -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
|
||||
respond_to :html, :json
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
def create
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module ApplicationHelper
|
||||
|
||||
def resource_name
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module CardHelper
|
||||
|
||||
def brand_file(brand)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module DeviseHelper
|
||||
def devise_error_messages!
|
||||
if resource && !resource.errors.empty?
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module NonprofitsHelper
|
||||
|
||||
def managed_npo_card_json
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module PricingHelper
|
||||
private
|
||||
def nonprofit_email
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
module ProfilesHelper
|
||||
|
||||
def get_shortened_name name
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class AdminMailer < BaseMailer
|
||||
|
||||
# Subject can be set in your I18n file at config/locales/en.yml
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class BaseMailer < ActionMailer::Base
|
||||
include Roadie::Rails::Automatic
|
||||
include Devise::Controllers::UrlHelpers
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class BillingSubscriptionMailer < BaseMailer
|
||||
|
||||
def failed_notice(np_id)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CampaignMailer < BaseMailer
|
||||
|
||||
def creation_followup(campaign)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class DonationMailer < BaseMailer
|
||||
|
||||
# Used for both one-time and recurring donations
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EventMailer < BaseMailer
|
||||
|
||||
helper :application
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class ExportMailer < BaseMailer
|
||||
|
||||
# Subject can be set in your I18n file at config/locales/en.yml
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class GenericMailer < BaseMailer
|
||||
|
||||
def generic_mail(from_email, from_name, message, subject, to_email, to_name)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class ImportMailer < BaseMailer
|
||||
|
||||
def import_completed_notification(import_id)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class NonprofitAdminMailer < BaseMailer
|
||||
|
||||
def new_invite(role, raw_token)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class NonprofitMailer < BaseMailer
|
||||
|
||||
def failed_verification_notice(np)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class PaymentMailer < BaseMailer
|
||||
|
||||
# Send a donation receipt to a single admin
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class RecurringDonationMailer < BaseMailer
|
||||
|
||||
def send_cancellation_notices(recurring_donation)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Testing < ActionMailer::Base
|
||||
default from: "from@example.com"
|
||||
end
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class TicketMailer < BaseMailer
|
||||
|
||||
helper :application
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class UserMailer < BaseMailer
|
||||
|
||||
def refund_receipt(refund_id)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Activity < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class BankAccount < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class BillingPlan < ActiveRecord::Base
|
||||
Names = ['Starter', 'Fundraising', 'Supporter Management']
|
||||
DefaultAmounts = [0, 9900, 29900] # in pennies
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class BillingSubscription < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Campaign < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CampaignGift < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CampaignGiftOption < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Card < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -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.
|
||||
|
||||
class Charge < ActiveRecord::Base
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Comment < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Coupon < ActiveRecord::Base
|
||||
attr_accessible \
|
||||
:name,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CustomFieldJoin < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class CustomFieldMaster < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class DirectDebitDetail < ActiveRecord::Base
|
||||
attr_accessible :iban, :account_holder_name, :bic, :supporter_id, :holder
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
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]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Donation < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EmailDraft < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EmailSetting < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Event < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class EventDiscount < ActiveRecord::Base
|
||||
attr_accessible \
|
||||
:code,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class Export < ActiveRecord::Base
|
||||
|
||||
STATUS = %w[queued started completed failed].freeze
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class FullContactInfo < ActiveRecord::Base
|
||||
attr_accessible \
|
||||
:email,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
class FullContactOrg < ActiveRecord::Base
|
||||
|
||||
attr_accessible \
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue