wco_email 0.1.1.66 → 0.1.1.68

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: baf88fb18ff9b70d50132024c511a6b366c81b39d3df0e339f1aef20ab156576
4
- data.tar.gz: eb9c57ec9c169b33dc8ee5cc3669227c3de1fcdc5c99ee7cd5583851bbeb01d8
3
+ metadata.gz: 868cc258b781893c9db6413bd10ef2bee7eb531683b31fdb1e19500e617b4b48
4
+ data.tar.gz: bff92e55ea5375cb12d90a5e103d398f48ad36bf279c6ca3bf1795f1a5d674c2
5
5
  SHA512:
6
- metadata.gz: 4b83ae7309c42dd3b6088133f34bf7417d169154d3e7b75f4ae0f2b70b845d667048769e865529fa17e243a8a2383fc360da25c1a57c5aaba7967f6a8f813100
7
- data.tar.gz: a9460e58fd2413f350a812118dca16768ee2f2a156d3189f00cb79977d9f402badf69266cfbedb688444c1417192ed8313fc96e84b05eac9981f0bd47db3c43e
6
+ metadata.gz: 42022a0679b7eabd8de64d45dceead3e7f167f9b3accc687f1b87301f2b60b1437f0f0bbc13eb17825730d44f3857dcacdaca6994bdbc343e50bc90a0b7ebc7b
7
+ data.tar.gz: 5baa1da9a6f9e4208e7abf970c3af8ff5cfb62ac53ce6ad4cfaa8df90aa6437c4b0ef5274447bc314c161b28fad812da1fd59a427aaf224b945070766e0f3b88
@@ -46,7 +46,9 @@ class WcoEmail::ContextsController < WcoEmail::ApplicationController
46
46
 
47
47
  def index
48
48
  authorize! :index, WcoEmail::Context
49
- @ctxs = WcoEmail::Context.all.order_by( sent_at: :desc, send_at: :desc
49
+ @ctxs = WcoEmail::Context.where(
50
+ :send_at.ne => nil, sent_at: nil
51
+ ).order_by( sent_at: :desc, send_at: :desc
50
52
  ).page( params[:ctxs_page]
51
53
  ).per( current_profile.per_page )
52
54
 
@@ -2,7 +2,7 @@
2
2
  .application--main-header.main-header{ class: "#{ENV['RAILS_ENV']} #{ENV['RAILS_ENV'][0...3]=="dev" ? "development" : ''}" }
3
3
  .maxwidth
4
4
  %i.fa.fa-compress.collapse-expand#collapseHeaderEmail
5
- Wco Email & CRM
5
+ Wco Email
6
6
  .flex-row
7
7
  %ul
8
8
  %li= link_to 'Inbox', conversations_in_path('inbox')
@@ -2,6 +2,9 @@
2
2
  - url = email_filter.new_record? ? email_filters_path : email_filter_path( email_filter )
3
3
  .email-filters--from
4
4
  = form_for email_filter, url: url, as: :email_filter do |f|
5
+ .actions
6
+ = f.submit
7
+
5
8
  .row.maxwidth
6
9
  .col-md-6
7
10
  .field
@@ -36,5 +39,15 @@
36
39
  .field
37
40
  = f.label :tag
38
41
  = f.select :tag, options_for_select( @tags_list, selected: email_filter.tag_id ), {}, class: 'select2'
42
+
43
+ .col-md-6
44
+ .field
45
+ %label skip to exact
46
+ = f.text_field :skip_to_exact
47
+ .field
48
+ %label skip from regex
49
+ = f.text_field :skip_from_regex
50
+
51
+ .col-md-6
39
52
  .actions
40
53
  = f.submit
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.66
4
+ version: 0.1.1.68
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-03-17 00:00:00.000000000 Z
11
+ date: 2024-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3