wco_email 0.1.1.83 → 0.1.1.85

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 719582a97ebd0fd983baed326967e48df5c08662ab874f95ec29bb3c54f8e336
4
- data.tar.gz: 49e79e9b494639ebe800d3fc23913d0d3d8629972b7a5e5bffd1ef18400b1849
3
+ metadata.gz: a11bdf44f0eeb74d6815893549cf71293bb492c3dc1a2e3f68404c8574e50974
4
+ data.tar.gz: 8aa2fdd6fa88b935e22b9c5179446717fe61c19c2aa6703071621aef9ea0b580
5
5
  SHA512:
6
- metadata.gz: ce5caa2b693a76232ba3da967722e32bbfbc7ec974365dc813d3e0bf3ce200cf4f55788c637fc3c702515f34fe0d72ef76a9528a86acc8d22375525e529f0676
7
- data.tar.gz: af953710ceb0829f19d0d2200ae33f717405ab997e082bf04b97ec503d026d0ee80a3f79ffe88d8721262e07e77360577c34a869b66ba7e0db96cc84c6a97bee
6
+ metadata.gz: e95f1a6a8aa5529b41525fa0ca773a90612a9c71911b99f8320c436113e8b518e1ce25dca4baa65aaf659e5dac789715a67bdc4326cfd89c16734ba6550d4a1e
7
+ data.tar.gz: 5d140c7d805d939c8ee551bdb7a0d9fbfb34670e8bf01472b6f5b627fc17721a626097f1f2933870843b705845a94361e59bd6cddf56a8e6ff7b31d671641423
data/README.txt CHANGED
@@ -1,4 +1,52 @@
1
1
 
2
+ = Install =
2
3
 
3
- cd test/dummy
4
- be sidekiq -q wco_email_rb_mailers -q wco_email_rb_default -q wco_email_rb
4
+ alias dc='docker-compose '
5
+
6
+ Copy and edit the config file:
7
+
8
+ cp _env .env
9
+
10
+ Check out the repository and run:
11
+
12
+ bundle
13
+
14
+ Ask Victor to add your user (email) to the remote auth server. Or use test-1@wasya.co
15
+
16
+ Note: the mongodb port is 27041.
17
+
18
+ dc up -d mongo_development
19
+ dc up -d localstack_development
20
+
21
+ In the rails console ( cd test/dummy ; be rails c ):
22
+
23
+ profile = Wco::Profile.create email: 'test-1@wasya.co'
24
+ inbox = Wco::Tag.create slug: 'inbox'
25
+
26
+ You need a copy of wco_models.git locally ( default location is ~/projects/ruby/wco_models )
27
+
28
+ awslocal s3api create-bucket --bucket wco-email-development
29
+
30
+ == Troubleshooting ==
31
+
32
+ Issue:
33
+
34
+ checking for yaml.h... no
35
+ yaml.h not found
36
+
37
+ Solution:
38
+
39
+ brew install libyaml
40
+
41
+ = Use =
42
+ Please see below for example usage commands.
43
+
44
+ cd test/dummy
45
+ be sidekiq -q wco_email_rb_mailers -q wco_email_rb_default -q wco_email_rb
46
+
47
+ docker run \
48
+ --rm -it \
49
+ -p 127.0.0.1:4566:4566 \
50
+ -p 127.0.0.1:4510-4559:4510-4559 \
51
+ -v /var/run/docker.sock:/var/run/docker.sock \
52
+ localstack/localstack
@@ -28,6 +28,8 @@ class WcoEmail::ConversationsController < WcoEmail::ApplicationController
28
28
  end
29
29
 
30
30
  def index
31
+ puts! current_profile, 'current_profile'
32
+
31
33
  authorize! :index, WcoEmail::Conversation
32
34
  @conversations, @messages, @tag = WcoEmail::Conversation.load_conversations_messages_tag_by_params_and_profile( params, current_profile )
33
35
  end
@@ -41,7 +41,7 @@
41
41
  = render "/wco/main_header"
42
42
  = render "/wco_email/main_header"
43
43
 
44
- = render '/wco/alerts_notices' if notice || alert
44
+ = render '/wco/application/alerts_notices' if notice || alert
45
45
  %hr
46
46
 
47
47
  .padded.flex-row
@@ -0,0 +1,13 @@
1
+ ::S3_CREDENTIALS ||= {
2
+ ## user:
3
+ access_key_id: "",
4
+ secret_access_key: "",
5
+ bucket: "wco-email-development",
6
+ region: 'us-east-1',
7
+
8
+ ## user:
9
+ access_key_id_ses: "",
10
+ secret_access_key_ses: "",
11
+ bucket_ses: "",
12
+ region_ses: 'us-east-1',
13
+ }
@@ -0,0 +1,13 @@
1
+ ::S3_CREDENTIALS ||= {
2
+ ## user:
3
+ access_key_id: "",
4
+ secret_access_key: "",
5
+ bucket: "",
6
+ region: 'us-east-1',
7
+
8
+ ## user:
9
+ access_key_id_ses: "",
10
+ secret_access_key_ses: "",
11
+ bucket_ses: "",
12
+ region_ses: 'us-east-1',
13
+ }
@@ -1,3 +1,3 @@
1
1
 
2
- STRIPE_PK = 'nothing'
3
-
2
+ STRIPE_PK = 'pk_test_qr1QPmSpLdBFt1F7itdWJOj3'
3
+ STRIPE_SK = 'sk_test_ARuaXffdANoXLKAwUXDcp0v0'
@@ -0,0 +1,3 @@
1
+
2
+ STRIPE_PK = ''
3
+ STRIPE_SK = ''
@@ -2,6 +2,9 @@
2
2
  Rails.application.config.assets.version = '1.0'
3
3
 
4
4
  Rails.application.config.assets.precompile += %w(
5
+ application.js
6
+ application.css
7
+
5
8
  wco_models/application.js
6
9
  wco_models/application.css
7
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.83
4
+ version: 0.1.1.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-17 00:00:00.000000000 Z
11
+ date: 2024-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -446,7 +446,10 @@ files:
446
446
  - app/views/wco_email/messages/show.haml
447
447
  - app/views/wco_email/messages/show_iframe.haml
448
448
  - app/views/wco_email/sessions/new.html.erb
449
+ - config/initializers/00_s3.rb
450
+ - config/initializers/00_s3.rb-example
449
451
  - config/initializers/08_integrations.rb
452
+ - config/initializers/08_integrations.rb-example
450
453
  - config/initializers/assets.rb
451
454
  - config/routes.rb
452
455
  - lib/tasks/bjjcollective/sitemap.rb