Add the missing licenses
This commit is contained in:
parent
ba856ee975
commit
f8c54e9884
6 changed files with 87 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
/* License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later */
|
||||||
.minimalHeader {
|
.minimalHeader {
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
height: 90px;
|
height: 90px;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||||
class StaticController < ApplicationController
|
class StaticController < ApplicationController
|
||||||
layout 'layouts/static'
|
layout 'layouts/static'
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
||||||
<div class="container"><h1>Terms and Privacy</h1>
|
<div class="container"><h1>Terms and Privacy</h1>
|
||||||
|
|
||||||
<% if Settings.terms_and_privacy&.terms_url %>
|
<% if Settings.terms_and_privacy&.terms_url %>
|
||||||
|
|
72
config/commitchange.yml
Normal file
72
config/commitchange.yml
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
# License: CC0-1.0
|
||||||
|
general:
|
||||||
|
name: Houdini Project
|
||||||
|
logo: "logos/houdini_project_bug.svg"
|
||||||
|
logo_full: "logos/houdini_project_full.svg"
|
||||||
|
|
||||||
|
default:
|
||||||
|
image:
|
||||||
|
profile: "/images/fallback/default-profile.png"
|
||||||
|
nonprofit: "/images/fallback/default-nonprofit.png"
|
||||||
|
campaign: "/fallback/default-campaign-background.jpg"
|
||||||
|
|
||||||
|
|
||||||
|
cache_store: dalli_store
|
||||||
|
|
||||||
|
aws:
|
||||||
|
access_key_id: <%= ENV['AWS_ACCESS_KEY'] %>
|
||||||
|
secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
|
||||||
|
region: us-west-1
|
||||||
|
bucket: commitchange
|
||||||
|
|
||||||
|
mailer:
|
||||||
|
delivery_method: "sendmail"
|
||||||
|
address: "localhost"
|
||||||
|
port: 25
|
||||||
|
host: "http://localhost"
|
||||||
|
default_from: "CommitChange Team <support@commitchange.com>"
|
||||||
|
email: "support@commitchange.com"
|
||||||
|
|
||||||
|
cdn:
|
||||||
|
url: "http://localhost"
|
||||||
|
port: 5000
|
||||||
|
|
||||||
|
payment_provider:
|
||||||
|
stripe_connect: true
|
||||||
|
stripe_public_key: <%= ENV['STRIPE_API_PUBLIC'] %>
|
||||||
|
stripe_private_key: <%= ENV['STRIPE_API_KEY'] %>
|
||||||
|
stripe_proprietary_v2_js: true
|
||||||
|
|
||||||
|
default_bp:
|
||||||
|
id: 40
|
||||||
|
percentage_fee: 0.020
|
||||||
|
|
||||||
|
devise:
|
||||||
|
mailer_sender: 'fake@fake.fake'
|
||||||
|
|
||||||
|
page_editor:
|
||||||
|
editor: 'froala'
|
||||||
|
editor_options:
|
||||||
|
froala_key: <%= ENV['FROALA_KEY'] %>
|
||||||
|
|
||||||
|
language: 'en'
|
||||||
|
available_locales: ['en']
|
||||||
|
|
||||||
|
intntl:
|
||||||
|
currencies: ["usd"]
|
||||||
|
all_currencies:
|
||||||
|
- unit: "dollars"
|
||||||
|
subunit: "cents"
|
||||||
|
symbol: "$"
|
||||||
|
abbv: "usd"
|
||||||
|
format: "%u%n"
|
||||||
|
|
||||||
|
source_tokens:
|
||||||
|
max_uses: 1
|
||||||
|
expiration_time: 1200
|
||||||
|
event_donation_source:
|
||||||
|
time_after_event: 1728000
|
||||||
|
max_uses: 20
|
||||||
|
|
||||||
|
nonprofits_must_be_vetted: false
|
||||||
|
|
|
@ -28,6 +28,8 @@ Config.schema do
|
||||||
required(:general).schema do
|
required(:general).schema do
|
||||||
# the name of your website. Default in Settings is "Houdini Project"
|
# the name of your website. Default in Settings is "Houdini Project"
|
||||||
required(:name).filled(:str?)
|
required(:name).filled(:str?)
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
required(:default).schema do
|
required(:default).schema do
|
||||||
|
@ -232,7 +234,15 @@ Config.schema do
|
||||||
# complete, corresponding source
|
# complete, corresponding source
|
||||||
optional(:ccs).schema do
|
optional(:ccs).schema do
|
||||||
optional(:ccs_method).value(included_in?: %w(local_tar_gz github))
|
optional(:ccs_method).value(included_in?: %w(local_tar_gz github))
|
||||||
optional(:options)
|
|
||||||
|
# only used for github
|
||||||
|
# NOTE: for github you need to have the hash of the corresponding source in $RAILS_ROOT/CCS_HASH
|
||||||
|
optional(:options).schema do
|
||||||
|
# the account of the repository to find the code
|
||||||
|
required(:account).filled(:str?)
|
||||||
|
# the name of the repo to find the code
|
||||||
|
required(:repo).filled(:str?)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe StaticController, :type => :controller do
|
RSpec.describe StaticController, :type => :controller do
|
||||||
|
|
Loading…
Reference in a new issue