artfully_ose 1.2.0.pre.27 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +4 -6
- data/app/assets/javascripts/application.js +39 -0
- data/app/assets/javascripts/boxoffice.js +558 -0
- data/app/assets/javascripts/custom/kits-config.js +33 -0
- data/app/assets/javascripts/sales-console.js +29 -24
- data/app/assets/javascripts/store/store.js +11 -0
- data/app/assets/stylesheets/application.sass +66 -52
- data/app/assets/stylesheets/bootstrap-overrides.css +1 -1
- data/app/assets/stylesheets/boxoffice.css.scss +258 -0
- data/app/assets/stylesheets/pages/bootstrap-responsive.css +1109 -0
- data/app/assets/stylesheets/sass/store.sass +52 -62
- data/app/assets/stylesheets/storefront.css +1 -1
- data/app/concerns/itemable.rb +1 -1
- data/app/concerns/pdf_generation.rb +1 -11
- data/app/concerns/search_by_dates.rb +20 -0
- data/app/controllers/events_controller.rb +1 -0
- data/app/controllers/export_controller.rb +11 -1
- data/app/controllers/imports_controller.rb +2 -3
- data/app/controllers/member_cards_controller.rb +2 -3
- data/app/controllers/orders_controller.rb +42 -0
- data/app/controllers/organizations_controller.rb +1 -0
- data/app/controllers/passes_reports_controller.rb +21 -1
- data/app/controllers/regular_donation_kits_controller.rb +32 -0
- data/app/controllers/store/donations_controller.rb +19 -1
- data/app/controllers/store/orders_controller.rb +15 -5
- data/app/helpers/artfully_ose_helper.rb +28 -18
- data/app/models/database_views/item_view.rb +41 -0
- data/app/models/event.rb +10 -2
- data/app/models/ext/integrations.rb +5 -0
- data/app/models/fee_strategy.rb +47 -1
- data/app/models/imports/events_import.rb +6 -7
- data/app/models/item.rb +4 -3
- data/app/models/job/order_processor.rb +4 -3
- data/app/models/kit.rb +18 -0
- data/app/models/kits/regular_donation_kit.rb +51 -9
- data/app/models/member.rb +4 -3
- data/app/models/membership.rb +1 -2
- data/app/models/membership_sale_search.rb +2 -20
- data/app/models/membership_type.rb +1 -2
- data/app/models/order.rb +29 -1
- data/app/models/order_handler.rb +4 -3
- data/app/models/organization.rb +17 -9
- data/app/models/pass.rb +18 -17
- data/app/models/pass_sale_search.rb +18 -0
- data/app/models/pass_type.rb +7 -2
- data/app/models/passes_report.rb +117 -0
- data/app/models/sale_search.rb +3 -21
- data/app/models/user.rb +1 -2
- data/app/serializers/show_serializer.rb +15 -0
- data/app/views/contributions/index.html.haml +2 -2
- data/app/views/events/_header.html.haml +1 -0
- data/app/views/events/_ticket_type_fields.html.haml +31 -15
- data/app/views/events/edit.html.haml +6 -1
- data/app/views/imports/_export_links.html.haml +3 -0
- data/app/views/imports/donations/_pending.html.haml +24 -6
- data/app/views/imports/events/_pending.html.haml +16 -5
- data/app/views/imports/index.html.haml +6 -4
- data/app/views/imports/people/_pending.html.haml +20 -25
- data/app/views/layouts/storefront.html.haml +9 -5
- data/app/views/order_mailer/confirmation_for.html.haml +11 -5
- data/app/views/order_mailer/confirmation_for_refund.html.haml +6 -2
- data/app/views/order_mailer/confirmation_for_refund.text.haml +4 -3
- data/app/views/orders/membership.html.haml +15 -19
- data/app/views/orders/passes.html.haml +97 -0
- data/app/views/orders/sales.html.haml +2 -2
- data/app/views/organizations/_form.html.haml +4 -37
- data/app/views/pass_types/index.html.haml +1 -1
- data/app/views/passes_reports/index.html.haml +79 -1
- data/app/views/people/show.html.haml +16 -15
- data/app/views/regular_donation_kits/edit.html.haml +140 -0
- data/app/views/store/checkouts/thanks.html.haml +14 -6
- data/app/views/store/donations/index.html.haml +19 -2
- data/app/views/store/events/calendar.html.haml +1 -0
- data/app/views/store/events/index.html.haml +1 -0
- data/app/views/store/events/show.html.haml +1 -0
- data/app/views/store/events/single_show.html.haml +2 -0
- data/app/views/store/orders/show.html.haml +10 -10
- data/app/views/store/passes/index.html.haml +2 -2
- data/app/views/store/shared/_donate_form.html.haml +31 -12
- data/app/views/store/shared/_small_donate_form.html.haml +22 -0
- data/app/views/users/invitations/edit.html.haml +3 -42
- data/config/locales/en.yml +3 -1
- data/config/routes.rb +4 -1
- data/db/migrate/20140603200735_add_subtitle_to_events.rb +5 -0
- data/lib/artfully_ose/version.rb +1 -1
- data/spec/factories/kit_factories.rb +5 -4
- metadata +25 -13
- data/app/assets/javascripts/box-office.js +0 -262
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
%p
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
%p
|
|
25
|
+
%p
|
|
26
26
|
- if @order.total_with_service_fee > 0
|
|
27
27
|
%b You will see a charge on your credit card statement from "Artful.ly"
|
|
28
|
-
%br
|
|
29
28
|
%br
|
|
30
|
-
|
|
29
|
+
%br
|
|
30
|
+
Check your email! We've sent a confirmation of this order to
|
|
31
31
|
%b=@order.person.email
|
|
32
32
|
- if @fafs_success == true
|
|
33
33
|
%p Thank you for your donation! You will receive a separate email confirmation for that donation.
|
|
@@ -65,6 +65,14 @@
|
|
|
65
65
|
%tr
|
|
66
66
|
%td="Donation to #{@store_organization.name}"
|
|
67
67
|
%td.right=number_as_cents item.total_price
|
|
68
|
+
%tr
|
|
69
|
+
%td{:colspan => 2, :style => 'text-align: center; border-top: 0 none;'}
|
|
70
|
+
= image_tag('/assets/glyphish/gray/29-heart@2x.png')
|
|
71
|
+
%br
|
|
72
|
+
%strong
|
|
73
|
+
Thanks for your support!
|
|
74
|
+
%br
|
|
75
|
+
%p{:style => 'text-align: left;'}= @store_organization.kit(:regular_donation).thanks_msg_text
|
|
68
76
|
|
|
69
77
|
-unless @order.passes.empty?
|
|
70
78
|
%h4 Passes
|
|
@@ -105,11 +113,11 @@
|
|
|
105
113
|
-if !@order.organization.has_kit? :scannable_tickets
|
|
106
114
|
%p
|
|
107
115
|
%b Physical tickets will not be issued for this event. Please check in at the door with your order number.
|
|
108
|
-
%p
|
|
116
|
+
%p
|
|
109
117
|
For questions about this event please contact:
|
|
110
118
|
%br
|
|
111
119
|
-unless event.contact_email.blank?
|
|
112
|
-
Contact email:
|
|
120
|
+
Contact email:
|
|
113
121
|
%b=event.contact_email
|
|
114
122
|
%br
|
|
115
123
|
-unless event.contact_phone.blank?
|
|
@@ -123,4 +131,4 @@
|
|
|
123
131
|
.address-block
|
|
124
132
|
%br
|
|
125
133
|
=event.venue.name
|
|
126
|
-
%div="#{event.venue.street_as_string}, #{event.venue.city_state_zip_as_string}"
|
|
134
|
+
%div="#{event.venue.street_as_string}, #{event.venue.city_state_zip_as_string}"
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
- donation_kit = @donation_kit || @store_organization.kit(:regular_donation)
|
|
2
|
+
.row
|
|
3
|
+
.span6.offset3#donate-now-container
|
|
4
|
+
#donate-now-header
|
|
5
|
+
.center
|
|
6
|
+
%h4="Donate to"
|
|
7
|
+
%h1="#{@store_organization.name}"
|
|
8
|
+
|
|
9
|
+
- if donation_kit.about_organization_text.present?
|
|
10
|
+
.organization-about
|
|
11
|
+
= donation_kit.about_organization_text.html_safe
|
|
12
|
+
%hr
|
|
13
|
+
|
|
14
|
+
- if donation_kit.donation_ask_text.present?
|
|
15
|
+
.donation-ask
|
|
16
|
+
= donation_kit.donation_ask_text.html_safe
|
|
17
|
+
%hr
|
|
18
|
+
#donate-now
|
|
19
|
+
= render 'store/shared/donate_form'
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
|
|
76
76
|
= link_to "Clear My Cart", store_order_path, :method => :delete, :data => { :confirm => 'Are you sure you want to empty your cart?' }
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
- if @store_organization.has_kit?(:regular_donation) || @store_organization.has_kit?(:sponsored_donation)
|
|
79
|
+
= render 'store/shared/small_donate_form'
|
|
80
80
|
|
|
81
81
|
.span7
|
|
82
82
|
-unless current_cart.empty?
|
|
@@ -141,17 +141,17 @@
|
|
|
141
141
|
.control-group
|
|
142
142
|
= card.label :name, "Cardholder Name", :class => 'control-label'
|
|
143
143
|
.controls= card.text_field :name, :class => 'required'
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
.control-group
|
|
146
146
|
= card.label :number, "Card Number", :class => 'control-label'
|
|
147
147
|
.controls= card.text_field :number, :class => 'required'
|
|
148
|
-
|
|
148
|
+
|
|
149
149
|
.control-group
|
|
150
150
|
= card.label :verification_value, "CVV", :class => 'control-label'
|
|
151
151
|
.controls
|
|
152
152
|
= card.text_field :verification_value, :class => 'required span1'
|
|
153
153
|
= image_tag 'storefront/cvv.gif'
|
|
154
|
-
|
|
154
|
+
|
|
155
155
|
.control-group
|
|
156
156
|
= card.label :expiration, "Expiration", :class => 'control-label'
|
|
157
157
|
.controls
|
|
@@ -175,10 +175,10 @@
|
|
|
175
175
|
.control-group
|
|
176
176
|
.controls
|
|
177
177
|
%label.checkbox
|
|
178
|
-
I have read, understand and accept the terms and conditions of the
|
|
178
|
+
I have read, understand and accept the terms and conditions of the
|
|
179
179
|
=link_to "User Agreement", "#user-agreement-modal", 'data-toggle' => 'modal'
|
|
180
180
|
= check_box_tag "payment[user_agreement]", 1, false, :class => 'required-checkbox', :id => 'agreement-checkbox'
|
|
181
|
-
|
|
181
|
+
|
|
182
182
|
= hidden_field_tag :confirmation, 1
|
|
183
183
|
.form-actions.cart-actions
|
|
184
184
|
%h4.cart-error-message Please correct the errors above
|
|
@@ -186,13 +186,13 @@
|
|
|
186
186
|
.span8
|
|
187
187
|
%h2#cart-total= number_as_cents current_cart.total
|
|
188
188
|
.span4
|
|
189
|
-
= submit_tag 'Buy Now', :id => 'complete-purchase', :class => 'btn btn-primary btn-large pull-right'
|
|
189
|
+
= submit_tag 'Buy Now', :id => 'complete-purchase', :class => 'btn btn-primary btn-large pull-right'
|
|
190
190
|
|
|
191
191
|
#user-agreement-modal.modal.hide
|
|
192
192
|
.modal-header
|
|
193
193
|
.close{'data-dismiss'=>'modal'} x
|
|
194
|
-
%h3 Artful.ly User Agreement
|
|
194
|
+
%h3 Artful.ly User Agreement
|
|
195
195
|
.modal-body
|
|
196
196
|
= t("pages.user_agreement.content", :default => "")
|
|
197
197
|
.modal-footer
|
|
198
|
-
=link_to "Close", "#", :class => "btn", 'data-dismiss'=>'modal'
|
|
198
|
+
=link_to "Close", "#", :class => "btn", 'data-dismiss'=>'modal'
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
.title.active
|
|
18
18
|
.price
|
|
19
19
|
=number_as_cents pass_type.price
|
|
20
|
-
.
|
|
20
|
+
.pass_type_name
|
|
21
21
|
=pass_type.name
|
|
22
22
|
=pass_type.description
|
|
23
23
|
%br
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
= form_for pass_type, :as => :pass_type, :url => store_order_path(@store_organization.cached_slug), :html => {:id => "edit_pass_type_#{pass_type.id}"}, :method => :post do |f|
|
|
27
27
|
= f.hidden_field :id
|
|
28
28
|
= select_tag :quantity, options_for_select((1..6).to_a.map {|i| [pluralize(i, "#{pass_type.passerize}"), i]})
|
|
29
|
-
= f.submit 'Add to cart', :class => 'btn btn-primary', :style => 'margin-top: -10px'
|
|
29
|
+
= f.submit 'Add to cart', :class => 'add-to-cart btn btn-primary', :style => 'margin-top: -10px'
|
|
30
30
|
|
|
31
31
|
.span4
|
|
32
32
|
.side-section
|
|
@@ -1,12 +1,31 @@
|
|
|
1
|
-
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
- donation_kit = @donation_kit || @store_organization.kit(:regular_donation)
|
|
2
|
+
= form_tag store_order_path(@store_organization.cached_slug), :method => :post, :class => 'add-donation-to-cart form-inline' do
|
|
3
|
+
= hidden_field_tag :_source, 'storefront'
|
|
4
|
+
|
|
5
|
+
- if donation_kit.suggested_gifts.present? && donation_kit.suggested_gifts.any?
|
|
6
|
+
- donation_kit.suggested_gifts.each_with_index do |suggested_gift, index|
|
|
7
|
+
.preset-amount
|
|
8
|
+
%label{:for => "suggested_gift_#{index}", :class => 'control-label inline radio'}
|
|
9
|
+
- label_text = suggested_gift['level_name'].present? ? "#{suggested_gift['level_name']} ($#{format('%.2f', suggested_gift['amount'])})" : "$#{format('%.2f', suggested_gift['amount'])}"
|
|
10
|
+
= radio_button_tag :suggested_gift, suggested_gift['amount'], false, :id => "suggested_gift_#{index}", :class => 'preset_radio'
|
|
11
|
+
= label_text
|
|
12
|
+
|
|
13
|
+
- if donation_kit.open_gift_field == '1'
|
|
14
|
+
.preset-amount
|
|
15
|
+
%label{:for => :suggested_gift_42, :class => 'control-label inline radio'}
|
|
16
|
+
= radio_button_tag :suggested_gift, 0, false, :id => 'suggested_gift_42', :class => 'preset_radio'
|
|
17
|
+
Other
|
|
18
|
+
|
|
19
|
+
.input-prepend
|
|
20
|
+
%span.add-on $
|
|
21
|
+
= text_field_tag :donation_amount, '', :class => 'span1'
|
|
22
|
+
= hidden_field_tag :donation_amount_fixed, ''
|
|
23
|
+
|
|
24
|
+
%br{:style => 'clear: both;'}
|
|
25
|
+
= submit_tag 'Add Donation', :class => 'btn btn-primary', :id => 'add-donation'
|
|
26
|
+
|
|
27
|
+
- else
|
|
28
|
+
.input-prepend
|
|
29
|
+
%span.add-on $
|
|
30
|
+
= text_field_tag :donation_amount, '', :class => 'span1'
|
|
31
|
+
= submit_tag 'Add Donation', :class => 'btn btn-primary', :id => 'add-donation'
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
- donation_kit = @donation_kit || @store_organization.kit(:regular_donation)
|
|
2
|
+
%h6 Donate
|
|
3
|
+
|
|
4
|
+
- if donation_kit
|
|
5
|
+
-if donation_kit.donation_nudge_text.present?
|
|
6
|
+
%p= donation_kit.donation_nudge_text
|
|
7
|
+
-else
|
|
8
|
+
%p
|
|
9
|
+
Help support our work by adding a donation to your order!
|
|
10
|
+
%br
|
|
11
|
+
Donations are tax-deductible to the extent permitted by law.
|
|
12
|
+
- else @store_organization.authorization_hash[:type] == :sponsored
|
|
13
|
+
%p= "#{@store_organization.authorization_hash[:fsp_name]} is a fiscally sponsored project of Fractured Atlas, a non-profit arts service organization. Donations for the purposes of #{@store_organization.authorization_hash[:fsp_name]} must be made payable to Fractured Atlas and are tax-deductible to the extent permitted by law."
|
|
14
|
+
|
|
15
|
+
= form_tag store_order_path(@store_organization.cached_slug), :method => :post, :class => 'add-donation-to-cart form-inline' do
|
|
16
|
+
= hidden_field_tag :_source, 'cart'
|
|
17
|
+
.preset-amount.last
|
|
18
|
+
.input-prepend
|
|
19
|
+
%span.add-on $
|
|
20
|
+
= text_field_tag :donation_amount, '', :class => 'span1'
|
|
21
|
+
|
|
22
|
+
= submit_tag 'Add Donation', :class => 'btn btn-primary', :id => 'add-donation'
|
|
@@ -5,14 +5,8 @@
|
|
|
5
5
|
%strong=resource.user_memberships.first.organization.name
|
|
6
6
|
has invited you to join their organization. Enter a password for your account and click 'Sign Up' to begin using Artfully!
|
|
7
7
|
|
|
8
|
-
%fieldset
|
|
9
|
-
|
|
10
|
-
%li{"ng-class" => "{active: signinform == 'artfully'}"}
|
|
11
|
-
%a{href: "#", "ng-click" => "signinform = 'artfully'"} Create Account
|
|
12
|
-
%li{"ng-class" => "{active: signinform == 'fa'}"}
|
|
13
|
-
%a{href: "#", "ng-click" => "signinform = 'fa'"} Sign In with Fractured Atlas
|
|
14
|
-
|
|
15
|
-
= form_for resource, as: resource_name, url: invitation_path(resource_name), html: {method: :put, class: "form-horizontal", "ng-show" => "signinform == 'artfully'"} do |f|
|
|
8
|
+
%fieldset
|
|
9
|
+
= form_for resource, as: resource_name, url: invitation_path(resource_name), html: {method: :put, class: "form-horizontal"} do |f|
|
|
16
10
|
= devise_error_messages!
|
|
17
11
|
= f.hidden_field :invitation_token
|
|
18
12
|
|
|
@@ -31,38 +25,5 @@
|
|
|
31
25
|
.control-group
|
|
32
26
|
= f.label :password_confirmation, "Retype Password", :class => 'control-label'
|
|
33
27
|
.controls= f.password_field :password_confirmation, :required => true, tabindex: "5"
|
|
34
|
-
.control-group
|
|
35
|
-
.controls
|
|
36
|
-
%label.checkbox
|
|
37
|
-
= f.check_box :user_agreement, required: true, tabindex: "6"
|
|
38
|
-
I have read, understand and accept the terms and conditions of the #{link_to "User Agreement", user_agreement_path, :target => "_blank"}
|
|
39
|
-
.form-actions
|
|
40
|
-
%p= f.submit "Sign Up", class: "btn btn-primary btn-large", tabindex: "7"
|
|
41
|
-
|
|
42
|
-
= form_for resource, as: resource_name, url: invitation_path(resource_name), html: {method: :put, class: 'form-horizontal', "ng-show" => "signinform == 'fa'"} do |f|
|
|
43
|
-
= devise_error_messages!
|
|
44
|
-
= hidden_field_tag :fa, 'true'
|
|
45
|
-
= f.hidden_field :invitation_token
|
|
46
|
-
|
|
47
|
-
.control-group
|
|
48
|
-
= f.label :email, 'Fractured Atlas Username', class: 'control-label'
|
|
49
|
-
.controls
|
|
50
|
-
= f.text_field :email, required: true, tabindex: "8", value: nil
|
|
51
|
-
.control-group
|
|
52
|
-
= f.label :password, class: 'control-label'
|
|
53
|
-
.controls
|
|
54
|
-
= f.password_field :password, required: true, tabindex: "9"
|
|
55
|
-
%p.help-block= link_to "Forgot your password?", "http://www.fracturedatlas.org/site/login/forgotten", :target => "_blank"
|
|
56
|
-
|
|
57
|
-
.control-group
|
|
58
|
-
.controls
|
|
59
|
-
%label.checkbox
|
|
60
|
-
= f.check_box :user_agreement, required: true, tabindex: "10"
|
|
61
|
-
I have read, understand and accept the terms and conditions of the #{link_to "User Agreement", user_agreement_path, :target => "_blank"}
|
|
62
28
|
.form-actions
|
|
63
|
-
= f.submit "Sign Up", :
|
|
64
|
-
:javascript
|
|
65
|
-
var SignInCtrl = function($scope) {
|
|
66
|
-
console.log(window);
|
|
67
|
-
$scope.signinform = window.location.hash.slice(1) || 'artfully';
|
|
68
|
-
};
|
|
29
|
+
%p= f.submit "Sign Up", class: "btn btn-primary btn-large", tabindex: "7"
|
data/config/locales/en.yml
CHANGED
|
@@ -184,6 +184,8 @@
|
|
|
184
184
|
ends_at: "Membership ends"
|
|
185
185
|
pass_type:
|
|
186
186
|
tickets_allowed: "Number of Tickets"
|
|
187
|
+
starts_at: "Pass Starts"
|
|
188
|
+
ends_at: "Pass Ends"
|
|
187
189
|
organization:
|
|
188
190
|
# Blithering hack to get around Rails' miserable validation message handling
|
|
189
191
|
cached_slug: "Sorry,"
|
|
@@ -216,7 +218,7 @@
|
|
|
216
218
|
on_sale: "In Widget"
|
|
217
219
|
off_sale: "Not in Widget"
|
|
218
220
|
|
|
219
|
-
regular_donation_kit: "
|
|
221
|
+
regular_donation_kit: "501(c)(3) Donation Kit"
|
|
220
222
|
sponsored_donation_kit: "Sponsored Donation Kit"
|
|
221
223
|
ticketing_kit: "Paid Event Ticketing Kit"
|
|
222
224
|
reseller_kit: "Reseller Kit"
|
data/config/routes.rb
CHANGED
|
@@ -121,6 +121,8 @@ Rails.application.routes.draw do
|
|
|
121
121
|
resources :passes_kits, :only => [ :edit, :update ]
|
|
122
122
|
resources :passes_reports, :only => [:index]
|
|
123
123
|
|
|
124
|
+
resources :regular_donation_kits, :only => [ :edit, :update ]
|
|
125
|
+
|
|
124
126
|
resources :reports, :only => :index
|
|
125
127
|
resources :statements, :only => [ :index, :show ] do
|
|
126
128
|
resources :slices, :only => [ :index ] do
|
|
@@ -144,7 +146,7 @@ Rails.application.routes.draw do
|
|
|
144
146
|
collection do
|
|
145
147
|
post :bulk_update
|
|
146
148
|
end
|
|
147
|
-
end
|
|
149
|
+
end
|
|
148
150
|
|
|
149
151
|
member do
|
|
150
152
|
post :reset_password
|
|
@@ -284,6 +286,7 @@ Rails.application.routes.draw do
|
|
|
284
286
|
resource :assignment, :only => [ :new, :create ]
|
|
285
287
|
collection do
|
|
286
288
|
get :membership
|
|
289
|
+
get :passes
|
|
287
290
|
get :sales
|
|
288
291
|
end
|
|
289
292
|
member do
|
data/lib/artfully_ose/version.rb
CHANGED
|
@@ -3,8 +3,9 @@ FactoryGirl.define do
|
|
|
3
3
|
organization
|
|
4
4
|
end
|
|
5
5
|
|
|
6
|
-
factory :regular_donation_kit do
|
|
7
|
-
organization
|
|
6
|
+
factory :regular_donation_kit do |t|
|
|
7
|
+
t.association :organization
|
|
8
|
+
t.settings { { :open_gift_field => "1", :donation_only_storefront => '1'} }
|
|
8
9
|
end
|
|
9
10
|
|
|
10
11
|
factory :sponsored_donation_kit do
|
|
@@ -14,12 +15,12 @@ FactoryGirl.define do
|
|
|
14
15
|
factory :reseller_kit do
|
|
15
16
|
organization
|
|
16
17
|
end
|
|
17
|
-
|
|
18
|
+
|
|
18
19
|
factory :mailchimp_kit do |t|
|
|
19
20
|
t.association :organization
|
|
20
21
|
t.settings { { :api_key => "api_key-us5", :attached_lists => [{:list_id => "88a334b", :list_name => "First List"}] } }
|
|
21
22
|
end
|
|
22
|
-
|
|
23
|
+
|
|
23
24
|
factory :membership_kit do |t|
|
|
24
25
|
t.association :organization
|
|
25
26
|
t.settings { { :marketing_copy_heading => "Top", :marketing_copy_sidebar => "Sidebar" } }
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: artfully_ose
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.0
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Artful.ly
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - '
|
|
17
|
+
- - ! '>='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 3.2.12
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - '
|
|
24
|
+
- - ! '>='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 3.2.12
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
@@ -98,14 +98,14 @@ dependencies:
|
|
|
98
98
|
name: exceptional
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- - '
|
|
101
|
+
- - ! '>='
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
103
|
version: 2.0.33
|
|
104
104
|
type: :runtime
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- - '
|
|
108
|
+
- - ! '>='
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: 2.0.33
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
@@ -336,14 +336,14 @@ dependencies:
|
|
|
336
336
|
name: s3
|
|
337
337
|
requirement: !ruby/object:Gem::Requirement
|
|
338
338
|
requirements:
|
|
339
|
-
- - '
|
|
339
|
+
- - ! '>='
|
|
340
340
|
- !ruby/object:Gem::Version
|
|
341
341
|
version: 0.3.11
|
|
342
342
|
type: :runtime
|
|
343
343
|
prerelease: false
|
|
344
344
|
version_requirements: !ruby/object:Gem::Requirement
|
|
345
345
|
requirements:
|
|
346
|
-
- - '
|
|
346
|
+
- - ! '>='
|
|
347
347
|
- !ruby/object:Gem::Version
|
|
348
348
|
version: 0.3.11
|
|
349
349
|
- !ruby/object:Gem::Dependency
|
|
@@ -1846,13 +1846,14 @@ files:
|
|
|
1846
1846
|
- app/assets/javascripts/application.js
|
|
1847
1847
|
- app/assets/javascripts/bootstrap-wysihtml5.js
|
|
1848
1848
|
- app/assets/javascripts/bootstrap.js
|
|
1849
|
-
- app/assets/javascripts/
|
|
1849
|
+
- app/assets/javascripts/boxoffice.js
|
|
1850
1850
|
- app/assets/javascripts/change-membership.js
|
|
1851
1851
|
- app/assets/javascripts/custom/door-list.js
|
|
1852
1852
|
- app/assets/javascripts/custom/endless-scroll.js
|
|
1853
1853
|
- app/assets/javascripts/custom/grouped-form.js
|
|
1854
1854
|
- app/assets/javascripts/custom/imports.js
|
|
1855
1855
|
- app/assets/javascripts/custom/inline-people-search.js
|
|
1856
|
+
- app/assets/javascripts/custom/kits-config.js
|
|
1856
1857
|
- app/assets/javascripts/custom/modernizr.custom.12828.js
|
|
1857
1858
|
- app/assets/javascripts/custom/people.js
|
|
1858
1859
|
- app/assets/javascripts/custom/prices.js
|
|
@@ -1888,12 +1889,14 @@ files:
|
|
|
1888
1889
|
- app/assets/stylesheets/bootstrap-overrides.css
|
|
1889
1890
|
- app/assets/stylesheets/bootstrap-wysihtml5.css
|
|
1890
1891
|
- app/assets/stylesheets/bootstrap.css
|
|
1892
|
+
- app/assets/stylesheets/boxoffice.css.scss
|
|
1891
1893
|
- app/assets/stylesheets/font-awesome.css.scss
|
|
1892
1894
|
- app/assets/stylesheets/jquery/chosen.scss
|
|
1893
1895
|
- app/assets/stylesheets/jquery/fullcalendar.css
|
|
1894
1896
|
- app/assets/stylesheets/jquery/jquery-ui.css
|
|
1895
1897
|
- app/assets/stylesheets/jquery/jquery.gritter.css
|
|
1896
1898
|
- app/assets/stylesheets/jquery/jquery.visualize.css
|
|
1899
|
+
- app/assets/stylesheets/pages/bootstrap-responsive.css
|
|
1897
1900
|
- app/assets/stylesheets/printing.css
|
|
1898
1901
|
- app/assets/stylesheets/reset.css
|
|
1899
1902
|
- app/assets/stylesheets/sass/_colors.sass
|
|
@@ -1913,6 +1916,7 @@ files:
|
|
|
1913
1916
|
- app/concerns/itemable.rb
|
|
1914
1917
|
- app/concerns/oh_noes.rb
|
|
1915
1918
|
- app/concerns/pdf_generation.rb
|
|
1919
|
+
- app/concerns/search_by_dates.rb
|
|
1916
1920
|
- app/concerns/unrefundable.rb
|
|
1917
1921
|
- app/controllers/actions_controller.rb
|
|
1918
1922
|
- app/controllers/addresses_controller.rb
|
|
@@ -1961,6 +1965,7 @@ files:
|
|
|
1961
1965
|
- app/controllers/people_controller.rb
|
|
1962
1966
|
- app/controllers/phones_controller.rb
|
|
1963
1967
|
- app/controllers/refunds_controller.rb
|
|
1968
|
+
- app/controllers/regular_donation_kits_controller.rb
|
|
1964
1969
|
- app/controllers/relationships_controller.rb
|
|
1965
1970
|
- app/controllers/returns_controller.rb
|
|
1966
1971
|
- app/controllers/sales_controller.rb
|
|
@@ -2118,8 +2123,10 @@ files:
|
|
|
2118
2123
|
- app/models/organization_ability.rb
|
|
2119
2124
|
- app/models/parsed_row.rb
|
|
2120
2125
|
- app/models/pass.rb
|
|
2126
|
+
- app/models/pass_sale_search.rb
|
|
2121
2127
|
- app/models/pass_summary.rb
|
|
2122
2128
|
- app/models/pass_type.rb
|
|
2129
|
+
- app/models/passes_report.rb
|
|
2123
2130
|
- app/models/payment.rb
|
|
2124
2131
|
- app/models/payments/cash_payment.rb
|
|
2125
2132
|
- app/models/payments/check_payment.rb
|
|
@@ -2171,6 +2178,7 @@ files:
|
|
|
2171
2178
|
- app/models/valuation/lifetime_value.rb
|
|
2172
2179
|
- app/models/venue.rb
|
|
2173
2180
|
- app/presenters/event_presenter.rb
|
|
2181
|
+
- app/serializers/show_serializer.rb
|
|
2174
2182
|
- app/views/actions/_action.html.haml
|
|
2175
2183
|
- app/views/actions/_form.html.haml
|
|
2176
2184
|
- app/views/actions/_inline.html.haml
|
|
@@ -2243,6 +2251,7 @@ files:
|
|
|
2243
2251
|
- app/views/households/new.html.haml
|
|
2244
2252
|
- app/views/households/show.html.haml
|
|
2245
2253
|
- app/views/households/suggested.html.haml
|
|
2254
|
+
- app/views/imports/_export_links.html.haml
|
|
2246
2255
|
- app/views/imports/donations/_approved.html.haml
|
|
2247
2256
|
- app/views/imports/donations/_caching.html.haml
|
|
2248
2257
|
- app/views/imports/donations/_failed.html.haml
|
|
@@ -2348,6 +2357,7 @@ files:
|
|
|
2348
2357
|
- app/views/orders/_search_form.haml
|
|
2349
2358
|
- app/views/orders/index.html.haml
|
|
2350
2359
|
- app/views/orders/membership.html.haml
|
|
2360
|
+
- app/views/orders/passes.html.haml
|
|
2351
2361
|
- app/views/orders/sales.html.haml
|
|
2352
2362
|
- app/views/orders/show.html.haml
|
|
2353
2363
|
- app/views/organizations/_connection_form.html.haml
|
|
@@ -2394,6 +2404,7 @@ files:
|
|
|
2394
2404
|
- app/views/producer_mailer/ticket_offer_rejected.text.erb
|
|
2395
2405
|
- app/views/refunds/_grouped_form.html.haml
|
|
2396
2406
|
- app/views/refunds/new.html.haml
|
|
2407
|
+
- app/views/regular_donation_kits/edit.html.haml
|
|
2397
2408
|
- app/views/relationships/index.html.haml
|
|
2398
2409
|
- app/views/reports_mailer/_fine_print.html.haml
|
|
2399
2410
|
- app/views/reports_mailer/daily.html.haml
|
|
@@ -2466,6 +2477,7 @@ files:
|
|
|
2466
2477
|
- app/views/store/passes/index.html.haml
|
|
2467
2478
|
- app/views/store/retrievals/index.html.haml
|
|
2468
2479
|
- app/views/store/shared/_donate_form.html.haml
|
|
2480
|
+
- app/views/store/shared/_small_donate_form.html.haml
|
|
2469
2481
|
- app/views/store/shows/_show.html.haml
|
|
2470
2482
|
- app/views/store/shows/show.html.haml
|
|
2471
2483
|
- app/views/ticket_types/edit.html.haml
|
|
@@ -2648,6 +2660,7 @@ files:
|
|
|
2648
2660
|
- db/migrate/20140521195853_add_deleted_at_to_pass_type.rb
|
|
2649
2661
|
- db/migrate/20140522205554_add_limit_to_events_pass_types.rb
|
|
2650
2662
|
- db/migrate/20140523180444_remove_tickets_purchased_from_passes.rb
|
|
2663
|
+
- db/migrate/20140603200735_add_subtitle_to_events.rb
|
|
2651
2664
|
- db/migrate/20140619194127_add_do_not_call_to_people.artfully_ose_engine.rb
|
|
2652
2665
|
- db/migrate/20140623160543_add_index_to_items.rb
|
|
2653
2666
|
- lib/artfully_ose.rb
|
|
@@ -2689,8 +2702,7 @@ files:
|
|
|
2689
2702
|
- spec/factories/ticket_type_factories.rb
|
|
2690
2703
|
- spec/factories/user_factories.rb
|
|
2691
2704
|
homepage: http://fracturedatlas.github.com/artfully_ose/
|
|
2692
|
-
licenses:
|
|
2693
|
-
- GNU AFFERO GENERAL PUBLIC LICENSE
|
|
2705
|
+
licenses: []
|
|
2694
2706
|
metadata: {}
|
|
2695
2707
|
post_install_message:
|
|
2696
2708
|
rdoc_options: []
|
|
@@ -2703,9 +2715,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
2703
2715
|
version: '0'
|
|
2704
2716
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2705
2717
|
requirements:
|
|
2706
|
-
- - ! '
|
|
2718
|
+
- - ! '>='
|
|
2707
2719
|
- !ruby/object:Gem::Version
|
|
2708
|
-
version:
|
|
2720
|
+
version: '0'
|
|
2709
2721
|
requirements: []
|
|
2710
2722
|
rubyforge_project:
|
|
2711
2723
|
rubygems_version: 2.2.2
|