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
|
class ActivitiesController < ApplicationController
|
||||||
|
|
||||||
before_filter :authenticate_user!, only: [:create]
|
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
|
class ApplicationController < ActionController::Base
|
||||||
before_filter :set_locale
|
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
|
class AwsPresignedPostsController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
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
|
class BillingSubscriptionsController < ApplicationController
|
||||||
include NonprofitHelper
|
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
|
class ButtonDebugController < ApplicationController
|
||||||
def embedded
|
def embedded
|
||||||
@np = params[:id] || 1
|
@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
|
class CampaignGiftOptionsController < ApplicationController
|
||||||
include CampaignHelper
|
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
|
class CampaignGiftsController < ApplicationController
|
||||||
|
|
||||||
# post /campaign_gifts
|
# 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
|
module Campaigns; class CampaignGiftOptionsController < ApplicationController
|
||||||
include CampaignHelper
|
include CampaignHelper
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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!
|
||||||
|
|
|
@ -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!
|
||||||
|
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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!
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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?
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
Loading…
Reference in a new issue