Skip to content

Commit

Permalink
Added deactivate_and_clean to routes, updated schema after merge from…
Browse files Browse the repository at this point in the history
… upstream
  • Loading branch information
antisnatchor committed Oct 19, 2015
1 parent c950cbe commit 72f2868
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
post '/email/launch_email/:id' => 'email#launch', as: 'launch'

# only allow deletion from POST requests
get '/campaigns/delete_smtp_entry/:id' => 'campaigns#list'
# get '/campaigns/delete_smtp_entry/:id' => 'campaigns#list'

get "reports/list"
get "reports/show"
Expand All @@ -33,6 +33,7 @@
get 'aboutus'
get 'victims'
get 'activity'
get 'deactivate_and_clean'
delete 'destroy'
end
member do
Expand Down
6 changes: 3 additions & 3 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# sidekiq -C config.yml
---
:verbose: false
:pidfile: ./tmp/pids/sidekiq.pid
:logfile: ./log/sidekiq.log
:pidfile: ../tmp/pids/sidekiq.pid
:logfile: ../log/sidekiq.log
:concurrency: 25
:queues:
- [often, 7]
- [default, 5]
- [seldom, 3]
- [seldom, 3]
8 changes: 4 additions & 4 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
t.integer "number_of_targets"
t.integer "emails_sent", default: 0
t.string "message", default: "Started "
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "baits_count", default: 0
end

Expand Down Expand Up @@ -174,8 +174,8 @@
create_table "global_settings", force: true do |t|
t.string "command_apache_restart"
t.integer "smtp_timeout", default: 5
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "command_apache_status"
t.string "command_apache_vhosts", default: "apache2ctl -S"
t.boolean "asynchronous", default: true
Expand Down

0 comments on commit 72f2868

Please sign in to comment.