GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - QueueClassic/queue_classic_admin: An admin interface for QueueClassic

BranchesTags
Open more actions menu

Latest commit

 

History

213 Commits
213 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
config
config
 
 
db/migrate
db/migrate
 
 
lib
lib
 
 
script
script
 
 
spec
spec
 
 
vendor/assets/stylesheets/qc-admin-bootstrap
vendor/assets/stylesheets/qc-admin-bootstrap
 
 
.gitignore
.gitignore
 
 
.rspec
.rspec
 
 
.rvmrc
.rvmrc
 
 
.travis.yml
.travis.yml
 
 
Gemfile
Gemfile
 
 
MIT-LICENSE
MIT-LICENSE
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
queue_classic_admin.gemspec
queue_classic_admin.gemspec
 
 

Repository files navigation

Queue Classic Admin

Build Status

An admin interface for the queue_classic gem.

IMPORTANT: this branch is for queue_classic 4.0. Support for queue_classic-later has been removed and replaced by queue_classic 3.1's implementation of scheduling instead. See the queueclassic-2-support and queueclassic-3-support branches for prior version support.

qc admin

Features

  • Support for QueueClassic 3.1's future job scheduling: enqueue_at() and enqueue_in()
  • Support for custom columns
  • Delete entire queues
  • Delete jobs
  • Search

Install

Copy and run the migrations

rake queue_classic_admin:install:migrations
rake db:migrate

Mount in your rails app config/routes.rb file

mount QueueClassicAdmin::Engine => "/queue_classic_admin"

Add the following asset dependencies to your Gemfile

gem "twitter-bootstrap-rails"
gem "jquery-rails"

Configuration

Custom searchable fields

QueueClassicJob.searchable_columns << :my_custom_fields

Custom job action

QueueClassicAdmin.add_custom_action "Retry" do |job|
  job.q_name = "low"
  job.save!
end

Custom action on matching jobs

QueueClassicAdmin.add_bulk_custom_action "Retry" do |jobs|
  jobs.update_all(q_name: "low")
end

Development

git clone [email protected]:rainforestapp/queue_classic_admin.git

You can develop with POW by configuring it like so:

ln -s $PWD/spec/dummy ~/.pow/qc-admin
(cd spec/dummy && bundle exec rake db:create:all db:migrate)
# Run the engine's migration.
bundle exec rake db:migrate
(cd spec/dummy && bundle exec rake db:schema:dump)

Then go to http://qc-admin.dev/.

About

An admin interface for QueueClassic

Resources

Readme
MIT license
Activity
Custom properties

Stars

23 stars

Watchers

6 watching

Forks

18 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.