ishapi 0.1.8.316 → 3.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +21 -12
- data/Rakefile +4 -22
- data/app/assets/config/ishapi_manifest.js +0 -1
- data/app/assets/stylesheets/ishapi/{application.scss → application.css} +2 -32
- data/app/controllers/ishapi/application_controller.rb +2 -139
- data/app/helpers/ishapi/application_helper.rb +0 -5
- data/app/mailers/ishapi/application_mailer.rb +4 -11
- data/app/models/ishapi/application_record.rb +5 -0
- data/app/views/layouts/ishapi/application.html.erb +15 -0
- data/config/routes.rb +0 -101
- data/lib/ishapi/engine.rb +0 -6
- data/lib/ishapi/version.rb +1 -1
- data/lib/ishapi.rb +2 -4
- metadata +13 -272
- data/app/assets/javascripts/ishapi/application.js +0 -14
- data/app/assets/stylesheets/ishapi/galleries.scss +0 -46
- data/app/assets/stylesheets/ishapi/locations.scss +0 -8
- data/app/assets/stylesheets/scaffold.css +0 -80
- data/app/controllers/ishapi/email_contexts_controller.rb +0 -28
- data/app/controllers/ishapi/email_conversations_controller.rb +0 -45
- data/app/controllers/ishapi/email_messages_controller.rb +0 -54
- data/app/controllers/ishapi/email_unsubscribes_controller.rb +0 -35
- data/app/controllers/ishapi/galleries_controller.rb +0 -56
- data/app/controllers/ishapi/gameui_controller.rb +0 -64
- data/app/controllers/ishapi/invoices_controller.rb +0 -22
- data/app/controllers/ishapi/lead_actions_controller.rb +0 -23
- data/app/controllers/ishapi/leads_controller.rb +0 -18
- data/app/controllers/ishapi/leadsets_controller.rb +0 -30
- data/app/controllers/ishapi/locations_controller.rb +0 -54
- data/app/controllers/ishapi/maps_controller.rb +0 -45
- data/app/controllers/ishapi/my/galleries_controller.rb +0 -11
- data/app/controllers/ishapi/my/reports_controller.rb +0 -11
- data/app/controllers/ishapi/my/videos_controller.rb +0 -10
- data/app/controllers/ishapi/newsitems_controller.rb +0 -35
- data/app/controllers/ishapi/obfuscated_redirects_controller.rb +0 -27
- data/app/controllers/ishapi/option_price_items_controller.rb +0 -44
- data/app/controllers/ishapi/order_items_controller.rb +0 -53
- data/app/controllers/ishapi/orders_controller.rb +0 -32
- data/app/controllers/ishapi/payments_controller.rb +0 -108
- data/app/controllers/ishapi/photos_controller.rb +0 -13
- data/app/controllers/ishapi/products_controller.rb +0 -16
- data/app/controllers/ishapi/stock_watches_controller.rb +0 -13
- data/app/controllers/ishapi/user_profiles_controller.rb +0 -27
- data/app/controllers/ishapi/users/registrations_controller.rb +0 -37
- data/app/controllers/ishapi/users/sessions_controller.rb +0 -36
- data/app/controllers/ishapi/users_controller.rb +0 -43
- data/app/controllers/ishapi/videos_controller.rb +0 -17
- data/app/jobs/ishapi/email_message_intake_job.rb +0 -178
- data/app/jobs/ishapi/email_message_intake_job.rb-todo +0 -6
- data/app/mailers/ishapi/confirmations_mailer.rb +0 -14
- data/app/models/ishapi/ability.rb +0 -130
- data/app/views/ishapi/addresses/_show.jbuilder +0 -12
- data/app/views/ishapi/application/_meta.jbuilder +0 -10
- data/app/views/ishapi/application/_metaline.haml +0 -12
- data/app/views/ishapi/application/_pagination.jbuilder +0 -11
- data/app/views/ishapi/application_mailer/forwarder_notify.html.erb +0 -16
- data/app/views/ishapi/email_contexts/summary.csv.erb +0 -4
- data/app/views/ishapi/email_messages/show.haml +0 -10
- data/app/views/ishapi/email_unsubscribes/create.haml +0 -5
- data/app/views/ishapi/galleries/_index.jbuilder +0 -11
- data/app/views/ishapi/galleries/_show.jbuilder +0 -24
- data/app/views/ishapi/galleries/index.jbuilder +0 -15
- data/app/views/ishapi/galleries/show.html.haml +0 -20
- data/app/views/ishapi/galleries/show.json.jbuilder +0 -12
- data/app/views/ishapi/galleries/show_premium_locked.jbuilder +0 -21
- data/app/views/ishapi/galleries/show_premium_unlocked.jbuilder +0 -17
- data/app/views/ishapi/locations/show.haml +0 -14
- data/app/views/ishapi/mailer/confirmation_instructions.html.erb +0 -6
- data/app/views/ishapi/mailer/email_changed.html.erb +0 -7
- data/app/views/ishapi/mailer/password_change.html.erb +0 -3
- data/app/views/ishapi/mailer/reset_password_instructions.html.erb +0 -8
- data/app/views/ishapi/mailer/unlock_instructions.html.erb +0 -7
- data/app/views/ishapi/maps/_show.jbuilder +0 -63
- data/app/views/ishapi/maps/_show_lite.jbuilder-trash +0 -16
- data/app/views/ishapi/maps/index.jbuilder +0 -12
- data/app/views/ishapi/maps/show.jbuilder +0 -6
- data/app/views/ishapi/maps/show_restricted.jbuilder +0 -44
- data/app/views/ishapi/markers/_card.haml +0 -28
- data/app/views/ishapi/markers/_index.jbuilder +0 -38
- data/app/views/ishapi/my/videos/index.jbuilder +0 -9
- data/app/views/ishapi/newsitems/_index.haml +0 -22
- data/app/views/ishapi/newsitems/_index.jbuilder +0 -86
- data/app/views/ishapi/newsitems/_show.haml +0 -10
- data/app/views/ishapi/newsitems/_show.haml-trash +0 -5
- data/app/views/ishapi/newsitems/index.jbuilder +0 -5
- data/app/views/ishapi/obfuscated_redirects/show.haml +0 -4
- data/app/views/ishapi/option_price_items/index.jbuilder +0 -17
- data/app/views/ishapi/option_price_items/view.jbuilder +0 -19
- data/app/views/ishapi/orders/_item.jbuilder +0 -8
- data/app/views/ishapi/orders/_show.jbuilder +0 -11
- data/app/views/ishapi/photos/_index.jbuilder +0 -19
- data/app/views/ishapi/photos/_show.jbuilder +0 -12
- data/app/views/ishapi/photos/show.jbuilder +0 -6
- data/app/views/ishapi/products/show.jbuilder +0 -16
- data/app/views/ishapi/reports/_index.jbuilder +0 -24
- data/app/views/ishapi/reports/index.jbuilder +0 -6
- data/app/views/ishapi/reports/show.haml +0 -15
- data/app/views/ishapi/reports/show.jbuilder +0 -51
- data/app/views/ishapi/stock_watches/index.jbuilder +0 -11
- data/app/views/ishapi/user_profiles/_account.jbuilder +0 -18
- data/app/views/ishapi/user_profiles/_index.jbuilder +0 -9
- data/app/views/ishapi/user_profiles/account.jbuilder +0 -2
- data/app/views/ishapi/user_profiles/login.jbuilder +0 -5
- data/app/views/ishapi/user_profiles/show.jbuilder +0 -9
- data/app/views/ishapi/user_profiles/show.jbuilder-bk +0 -24
- data/app/views/ishapi/videos/_index.jbuilder +0 -11
- data/app/views/ishapi/videos/_show.haml +0 -22
- data/app/views/ishapi/videos/_show.jbuilder +0 -37
- data/app/views/ishapi/videos/index.jbuilder +0 -3
- data/app/views/layouts/ishapi/application.html.haml +0 -38
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ishapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 3.0.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- mac_a2141
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
@@ -24,177 +24,9 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 6.1.0
|
27
|
-
|
28
|
-
name: cancancan
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.2'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '3.2'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: kaminari-mongoid
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: kaminari-actionview
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: koala
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '3.0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: googleauth
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.8.0
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.8.0
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: fb_graph
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rack-throttle
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0.5'
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0.5'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: jbuilder
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '2.7'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '2.7'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: aws-sdk-s3
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: stripe
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: httparty
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :runtime
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: devise
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :runtime
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ">="
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
description: " Description of Ishapi."
|
27
|
+
description: https://wasya.co
|
196
28
|
email:
|
197
|
-
- piousbox
|
29
|
+
- victor@piousbox.com
|
198
30
|
executables: []
|
199
31
|
extensions: []
|
200
32
|
extra_rdoc_files: []
|
@@ -203,116 +35,25 @@ files:
|
|
203
35
|
- README.md
|
204
36
|
- Rakefile
|
205
37
|
- app/assets/config/ishapi_manifest.js
|
206
|
-
- app/assets/
|
207
|
-
- app/assets/stylesheets/ishapi/application.scss
|
208
|
-
- app/assets/stylesheets/ishapi/galleries.scss
|
209
|
-
- app/assets/stylesheets/ishapi/locations.scss
|
210
|
-
- app/assets/stylesheets/scaffold.css
|
38
|
+
- app/assets/stylesheets/ishapi/application.css
|
211
39
|
- app/controllers/ishapi/application_controller.rb
|
212
|
-
- app/controllers/ishapi/email_contexts_controller.rb
|
213
|
-
- app/controllers/ishapi/email_conversations_controller.rb
|
214
|
-
- app/controllers/ishapi/email_messages_controller.rb
|
215
|
-
- app/controllers/ishapi/email_unsubscribes_controller.rb
|
216
|
-
- app/controllers/ishapi/galleries_controller.rb
|
217
|
-
- app/controllers/ishapi/gameui_controller.rb
|
218
|
-
- app/controllers/ishapi/invoices_controller.rb
|
219
|
-
- app/controllers/ishapi/lead_actions_controller.rb
|
220
|
-
- app/controllers/ishapi/leads_controller.rb
|
221
|
-
- app/controllers/ishapi/leadsets_controller.rb
|
222
|
-
- app/controllers/ishapi/locations_controller.rb
|
223
|
-
- app/controllers/ishapi/maps_controller.rb
|
224
|
-
- app/controllers/ishapi/my/galleries_controller.rb
|
225
|
-
- app/controllers/ishapi/my/reports_controller.rb
|
226
|
-
- app/controllers/ishapi/my/videos_controller.rb
|
227
|
-
- app/controllers/ishapi/newsitems_controller.rb
|
228
|
-
- app/controllers/ishapi/obfuscated_redirects_controller.rb
|
229
|
-
- app/controllers/ishapi/option_price_items_controller.rb
|
230
|
-
- app/controllers/ishapi/order_items_controller.rb
|
231
|
-
- app/controllers/ishapi/orders_controller.rb
|
232
|
-
- app/controllers/ishapi/payments_controller.rb
|
233
|
-
- app/controllers/ishapi/photos_controller.rb
|
234
|
-
- app/controllers/ishapi/products_controller.rb
|
235
|
-
- app/controllers/ishapi/stock_watches_controller.rb
|
236
|
-
- app/controllers/ishapi/user_profiles_controller.rb
|
237
|
-
- app/controllers/ishapi/users/registrations_controller.rb
|
238
|
-
- app/controllers/ishapi/users/sessions_controller.rb
|
239
|
-
- app/controllers/ishapi/users_controller.rb
|
240
|
-
- app/controllers/ishapi/videos_controller.rb
|
241
40
|
- app/helpers/ishapi/application_helper.rb
|
242
41
|
- app/jobs/ishapi/application_job.rb
|
243
|
-
- app/jobs/ishapi/email_message_intake_job.rb
|
244
|
-
- app/jobs/ishapi/email_message_intake_job.rb-todo
|
245
42
|
- app/mailers/ishapi/application_mailer.rb
|
246
|
-
- app/
|
247
|
-
- app/
|
248
|
-
- app/views/ishapi/addresses/_show.jbuilder
|
249
|
-
- app/views/ishapi/application/_meta.jbuilder
|
250
|
-
- app/views/ishapi/application/_metaline.haml
|
251
|
-
- app/views/ishapi/application/_pagination.jbuilder
|
252
|
-
- app/views/ishapi/application_mailer/forwarder_notify.html.erb
|
253
|
-
- app/views/ishapi/email_contexts/summary.csv.erb
|
254
|
-
- app/views/ishapi/email_messages/show.haml
|
255
|
-
- app/views/ishapi/email_unsubscribes/create.haml
|
256
|
-
- app/views/ishapi/galleries/_index.jbuilder
|
257
|
-
- app/views/ishapi/galleries/_show.jbuilder
|
258
|
-
- app/views/ishapi/galleries/index.jbuilder
|
259
|
-
- app/views/ishapi/galleries/show.html.haml
|
260
|
-
- app/views/ishapi/galleries/show.json.jbuilder
|
261
|
-
- app/views/ishapi/galleries/show_premium_locked.jbuilder
|
262
|
-
- app/views/ishapi/galleries/show_premium_unlocked.jbuilder
|
263
|
-
- app/views/ishapi/locations/show.haml
|
264
|
-
- app/views/ishapi/mailer/confirmation_instructions.html.erb
|
265
|
-
- app/views/ishapi/mailer/email_changed.html.erb
|
266
|
-
- app/views/ishapi/mailer/password_change.html.erb
|
267
|
-
- app/views/ishapi/mailer/reset_password_instructions.html.erb
|
268
|
-
- app/views/ishapi/mailer/unlock_instructions.html.erb
|
269
|
-
- app/views/ishapi/maps/_show.jbuilder
|
270
|
-
- app/views/ishapi/maps/_show_lite.jbuilder-trash
|
271
|
-
- app/views/ishapi/maps/index.jbuilder
|
272
|
-
- app/views/ishapi/maps/show.jbuilder
|
273
|
-
- app/views/ishapi/maps/show_restricted.jbuilder
|
274
|
-
- app/views/ishapi/markers/_card.haml
|
275
|
-
- app/views/ishapi/markers/_index.jbuilder
|
276
|
-
- app/views/ishapi/my/videos/index.jbuilder
|
277
|
-
- app/views/ishapi/newsitems/_index.haml
|
278
|
-
- app/views/ishapi/newsitems/_index.jbuilder
|
279
|
-
- app/views/ishapi/newsitems/_show.haml
|
280
|
-
- app/views/ishapi/newsitems/_show.haml-trash
|
281
|
-
- app/views/ishapi/newsitems/index.jbuilder
|
282
|
-
- app/views/ishapi/obfuscated_redirects/show.haml
|
283
|
-
- app/views/ishapi/option_price_items/index.jbuilder
|
284
|
-
- app/views/ishapi/option_price_items/view.jbuilder
|
285
|
-
- app/views/ishapi/orders/_item.jbuilder
|
286
|
-
- app/views/ishapi/orders/_show.jbuilder
|
287
|
-
- app/views/ishapi/photos/_index.jbuilder
|
288
|
-
- app/views/ishapi/photos/_show.jbuilder
|
289
|
-
- app/views/ishapi/photos/show.jbuilder
|
290
|
-
- app/views/ishapi/products/show.jbuilder
|
291
|
-
- app/views/ishapi/reports/_index.jbuilder
|
292
|
-
- app/views/ishapi/reports/index.jbuilder
|
293
|
-
- app/views/ishapi/reports/show.haml
|
294
|
-
- app/views/ishapi/reports/show.jbuilder
|
295
|
-
- app/views/ishapi/stock_watches/index.jbuilder
|
296
|
-
- app/views/ishapi/user_profiles/_account.jbuilder
|
297
|
-
- app/views/ishapi/user_profiles/_index.jbuilder
|
298
|
-
- app/views/ishapi/user_profiles/account.jbuilder
|
299
|
-
- app/views/ishapi/user_profiles/login.jbuilder
|
300
|
-
- app/views/ishapi/user_profiles/show.jbuilder
|
301
|
-
- app/views/ishapi/user_profiles/show.jbuilder-bk
|
302
|
-
- app/views/ishapi/videos/_index.jbuilder
|
303
|
-
- app/views/ishapi/videos/_show.haml
|
304
|
-
- app/views/ishapi/videos/_show.jbuilder
|
305
|
-
- app/views/ishapi/videos/index.jbuilder
|
306
|
-
- app/views/layouts/ishapi/application.html.haml
|
43
|
+
- app/models/ishapi/application_record.rb
|
44
|
+
- app/views/layouts/ishapi/application.html.erb
|
307
45
|
- config/routes.rb
|
308
46
|
- lib/ishapi.rb
|
309
47
|
- lib/ishapi/engine.rb
|
310
48
|
- lib/ishapi/version.rb
|
311
49
|
- lib/tasks/ishapi_tasks.rake
|
312
|
-
homepage:
|
50
|
+
homepage: https://wasya.co
|
313
51
|
licenses:
|
314
52
|
- MIT
|
315
|
-
metadata:
|
53
|
+
metadata:
|
54
|
+
homepage_uri: https://wasya.co
|
55
|
+
source_code_uri: https://wasya.co
|
56
|
+
changelog_uri: https://wasya.co
|
316
57
|
post_install_message:
|
317
58
|
rdoc_options: []
|
318
59
|
require_paths:
|
@@ -331,5 +72,5 @@ requirements: []
|
|
331
72
|
rubygems_version: 3.1.6
|
332
73
|
signing_key:
|
333
74
|
specification_version: 4
|
334
|
-
summary:
|
75
|
+
summary: https://wasya.co
|
335
76
|
test_files: []
|
@@ -1,14 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
// require_tree . // nothing
|
14
|
-
//
|
@@ -1,46 +0,0 @@
|
|
1
|
-
|
2
|
-
.galleries-show {
|
3
|
-
// border: 1px solid gray;
|
4
|
-
|
5
|
-
width: 910px;
|
6
|
-
margin: auto;
|
7
|
-
|
8
|
-
padding: 3em 0;
|
9
|
-
|
10
|
-
.photos-mini {
|
11
|
-
display: flex;
|
12
|
-
flex-wrap: wrap;
|
13
|
-
|
14
|
-
margin-bottom: 1em;
|
15
|
-
}
|
16
|
-
|
17
|
-
.photos-thumb {
|
18
|
-
display: flex;
|
19
|
-
flex-wrap: wrap;
|
20
|
-
|
21
|
-
margin-bottom: 1em;
|
22
|
-
|
23
|
-
img {
|
24
|
-
width: 100px;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.photos-large {
|
29
|
-
.item {
|
30
|
-
background: #eee;
|
31
|
-
border: 1px solid gray;
|
32
|
-
|
33
|
-
margin: 1em 0;
|
34
|
-
|
35
|
-
display: flex;
|
36
|
-
flex-direction: column;
|
37
|
-
align-items: center;
|
38
|
-
|
39
|
-
img {
|
40
|
-
margin: 2em;
|
41
|
-
}
|
42
|
-
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
}
|
@@ -1,80 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
background-color: #fff;
|
3
|
-
color: #333;
|
4
|
-
margin: 33px;
|
5
|
-
}
|
6
|
-
|
7
|
-
body, p, ol, ul, td {
|
8
|
-
font-family: verdana, arial, helvetica, sans-serif;
|
9
|
-
font-size: 13px;
|
10
|
-
line-height: 18px;
|
11
|
-
}
|
12
|
-
|
13
|
-
pre {
|
14
|
-
background-color: #eee;
|
15
|
-
padding: 10px;
|
16
|
-
font-size: 11px;
|
17
|
-
}
|
18
|
-
|
19
|
-
a {
|
20
|
-
color: #000;
|
21
|
-
}
|
22
|
-
|
23
|
-
a:visited {
|
24
|
-
color: #666;
|
25
|
-
}
|
26
|
-
|
27
|
-
a:hover {
|
28
|
-
color: #fff;
|
29
|
-
background-color: #000;
|
30
|
-
}
|
31
|
-
|
32
|
-
th {
|
33
|
-
padding-bottom: 5px;
|
34
|
-
}
|
35
|
-
|
36
|
-
td {
|
37
|
-
padding: 0 5px 7px;
|
38
|
-
}
|
39
|
-
|
40
|
-
div.field,
|
41
|
-
div.actions {
|
42
|
-
margin-bottom: 10px;
|
43
|
-
}
|
44
|
-
|
45
|
-
#notice {
|
46
|
-
color: green;
|
47
|
-
}
|
48
|
-
|
49
|
-
.field_with_errors {
|
50
|
-
padding: 2px;
|
51
|
-
background-color: red;
|
52
|
-
display: table;
|
53
|
-
}
|
54
|
-
|
55
|
-
#error_explanation {
|
56
|
-
width: 450px;
|
57
|
-
border: 2px solid red;
|
58
|
-
padding: 7px 7px 0;
|
59
|
-
margin-bottom: 20px;
|
60
|
-
background-color: #f0f0f0;
|
61
|
-
}
|
62
|
-
|
63
|
-
#error_explanation h2 {
|
64
|
-
text-align: left;
|
65
|
-
font-weight: bold;
|
66
|
-
padding: 5px 5px 5px 15px;
|
67
|
-
font-size: 12px;
|
68
|
-
margin: -7px -7px 0;
|
69
|
-
background-color: #c00;
|
70
|
-
color: #fff;
|
71
|
-
}
|
72
|
-
|
73
|
-
#error_explanation ul li {
|
74
|
-
font-size: 12px;
|
75
|
-
list-style: square;
|
76
|
-
}
|
77
|
-
|
78
|
-
label {
|
79
|
-
display: block;
|
80
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
|
2
|
-
require_dependency "ishapi/application_controller"
|
3
|
-
|
4
|
-
# gem_dir = Gem::Specification.find_by_name("ish_models").gem_dir
|
5
|
-
# require "#{gem_dir}/lib/office/email_conversation"
|
6
|
-
|
7
|
-
module Ishapi
|
8
|
-
class EmailContextsController < ApplicationController
|
9
|
-
|
10
|
-
before_action :check_jwt
|
11
|
-
|
12
|
-
def summary
|
13
|
-
authorize! :summary, Ish::EmailContext
|
14
|
-
@results = Ish::EmailContext.summary
|
15
|
-
|
16
|
-
respond_to do |format|
|
17
|
-
format.html
|
18
|
-
format.csv do
|
19
|
-
render layout: false
|
20
|
-
end
|
21
|
-
format.json do
|
22
|
-
render json: { items: @results }
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
end
|
28
|
-
end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
|
2
|
-
require_dependency "ishapi/application_controller"
|
3
|
-
|
4
|
-
# gem_dir = Gem::Specification.find_by_name("ish_models").gem_dir
|
5
|
-
# require "#{gem_dir}/lib/office/email_conversation"
|
6
|
-
|
7
|
-
module Ishapi
|
8
|
-
class EmailConversationsController < ApplicationController
|
9
|
-
|
10
|
-
before_action :check_jwt
|
11
|
-
|
12
|
-
def addtag
|
13
|
-
authorize! :email_conversations_addtag, ::Ishapi
|
14
|
-
convos = Office::EmailConversation.find params[:ids]
|
15
|
-
outs = convos.map do |convo|
|
16
|
-
convo.add_tag( params[:emailtag] )
|
17
|
-
convo.remove_tag( WpTag::INBOX ) if params[:is_move]
|
18
|
-
end
|
19
|
-
flash[:notice] = "outcome: #{outs}"
|
20
|
-
render json: { status: :ok }
|
21
|
-
end
|
22
|
-
|
23
|
-
def rmtag
|
24
|
-
authorize! :email_conversations_addtag, ::Ishapi
|
25
|
-
convos = Office::EmailConversation.find params[:ids]
|
26
|
-
outs = convos.map do |convo|
|
27
|
-
convo.remove_tag( params[:emailtag] )
|
28
|
-
end
|
29
|
-
flash[:notice] = "outcome: #{outs}"
|
30
|
-
render json: { status: :ok }
|
31
|
-
end
|
32
|
-
|
33
|
-
def delete
|
34
|
-
authorize! :email_conversations_delete, ::Ishapi
|
35
|
-
convos = Office::EmailConversation.find params[:ids]
|
36
|
-
outs = convos.map do |convo|
|
37
|
-
convo.add_tag( WpTag::TRASH )
|
38
|
-
convo.remove_tag( WpTag::INBOX )
|
39
|
-
end
|
40
|
-
flash[:notice] = "outcome: #{outs}"
|
41
|
-
render json: { status: :ok }
|
42
|
-
end
|
43
|
-
|
44
|
-
end
|
45
|
-
end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
|
2
|
-
require_dependency "ishapi/application_controller"
|
3
|
-
|
4
|
-
class ::Ishapi::EmailMessagesController < ::Ishapi::ApplicationController
|
5
|
-
|
6
|
-
before_action :check_jwt, only: [ :show ]
|
7
|
-
layout false
|
8
|
-
|
9
|
-
def show
|
10
|
-
@msg = Office::EmailMessage.find( params[:id] )
|
11
|
-
authorize! :show, @msg
|
12
|
-
|
13
|
-
if params[:load_images]
|
14
|
-
;
|
15
|
-
else
|
16
|
-
if @msg.part_html
|
17
|
-
doc = Nokogiri::HTML(@msg.part_html)
|
18
|
-
images = doc.search('img')
|
19
|
-
images.each do |img|
|
20
|
-
img['src'] = 'missing'
|
21
|
-
end
|
22
|
-
@msg.part_html = doc
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
respond_to do |format|
|
27
|
-
format.json do
|
28
|
-
render json: { item: @msg, }
|
29
|
-
end
|
30
|
-
format.html do
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
## From lambda, ses
|
36
|
-
def receive
|
37
|
-
if params[:secret] != AWS_SES_LAMBDA_SECRET
|
38
|
-
render status: 400, json: { status: 400 }
|
39
|
-
return
|
40
|
-
end
|
41
|
-
|
42
|
-
msg = Office::EmailMessageStub.new({
|
43
|
-
object_key: params[:object_key],
|
44
|
-
})
|
45
|
-
if msg.save
|
46
|
-
::Ishapi::EmailMessageIntakeJob.perform_later( msg.id.to_s )
|
47
|
-
render status: :ok, json: { status: :ok }
|
48
|
-
else
|
49
|
-
puts! msg.errors.full_messages, 'Could not save EmailMessageStub'
|
50
|
-
render status: 400, json: { status: 400 }
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
end
|
@@ -1,35 +0,0 @@
|
|
1
|
-
require_dependency "ishapi/application_controller"
|
2
|
-
|
3
|
-
module ::Ishapi
|
4
|
-
class EmailUnsubscribesController < ApplicationController
|
5
|
-
|
6
|
-
layout false
|
7
|
-
|
8
|
-
def create
|
9
|
-
authorize! :open_permission, ::Ishapi
|
10
|
-
@lead = Lead.find params[:lead_id]
|
11
|
-
|
12
|
-
if( !params[:token] ||
|
13
|
-
@lead.unsubscribe_token != params[:token] )
|
14
|
-
render code: 400, message: "We're sorry, but something went wrong. Please try again later."
|
15
|
-
return
|
16
|
-
end
|
17
|
-
|
18
|
-
@unsubscribe = ::Ish::EmailUnsubscribe.find_or_create_by({
|
19
|
-
lead_id: params[:lead_id],
|
20
|
-
template_id: params[:template_id],
|
21
|
-
campaign_id: params[:campaign_id],
|
22
|
-
})
|
23
|
-
flag = @unsubscribe.update_attributes({
|
24
|
-
unsubscribed_at: Time.now,
|
25
|
-
})
|
26
|
-
if flag
|
27
|
-
flash_notice "You have been unsubscribed."
|
28
|
-
else
|
29
|
-
flash_alert "We're sorry, but something went wrong. Please try again later."
|
30
|
-
end
|
31
|
-
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
require_dependency "ishapi/application_controller"
|
2
|
-
|
3
|
-
module Ishapi
|
4
|
-
class GalleriesController < ApplicationController
|
5
|
-
|
6
|
-
# before_action :soft_check_long_term_token, only: [ :show ]
|
7
|
-
before_action :check_jwt
|
8
|
-
|
9
|
-
def index
|
10
|
-
@galleries = Gallery.all.published
|
11
|
-
authorize! :index, Gallery
|
12
|
-
if params[:domain]
|
13
|
-
@site = Site.find_by( :domain => params[:domain], :lang => 'en' )
|
14
|
-
@galleries = @galleries.where( :site => @site )
|
15
|
-
end
|
16
|
-
@galleries = @galleries.page( params[:galleries_page] ).per( 10 )
|
17
|
-
end
|
18
|
-
|
19
|
-
def show
|
20
|
-
@gallery = ::Gallery.unscoped.where( slug: params[:slug] ).first
|
21
|
-
@gallery ||= ::Gallery.unscoped.where( id: params[:slug] ).first
|
22
|
-
authorize! :show, @gallery
|
23
|
-
|
24
|
-
@photos = @gallery.photos.order_by( ordering: :asc )
|
25
|
-
respond_to do |format|
|
26
|
-
format.json do
|
27
|
-
|
28
|
-
if @gallery.is_premium
|
29
|
-
if @current_user&.profile&.has_premium_purchase( @gallery )
|
30
|
-
render 'show_premium_unlocked'
|
31
|
-
else
|
32
|
-
render 'show_premium_locked'
|
33
|
-
end
|
34
|
-
else
|
35
|
-
render 'show'
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|
39
|
-
format.html do
|
40
|
-
|
41
|
-
if @gallery.is_premium
|
42
|
-
if @current_user&.profile&.has_premium_purchase( @gallery )
|
43
|
-
render 'show_premium_unlocked'
|
44
|
-
else
|
45
|
-
render 'show_premium_locked'
|
46
|
-
end
|
47
|
-
else
|
48
|
-
render 'show'
|
49
|
-
end
|
50
|
-
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
end
|
56
|
-
end
|