Giter Site home page Giter Site logo

redmine_airbrake_server's Introduction

Airbrake Server for Redmine

An implementation of the Airbrake (formerly known as Hoptoad) protocol v2 for Redmine which automatically creates issues from notices submitted from your applications notifier. Inspired by and loosely based on the Hoptoad server by Jan Schulz-Hofen

Installation

Install the hpricot gem, then install the plugin into Redmine as usual. Now go to Administration -> Settings -> Incoming emails and, if neccessary, check Enable WS for incoming emails and generate an API key. This is the key you will need in the next step to configure your notifier.

Client-Configuration

For a Rails application, just setup the Airbrake notifier as usual, then modify config/initializers/airbrake.rb according to your needs using this template:

HoptoadNotifier.configure do |config|
  config.api_key = {:project => 'redmine_project_identifier',    # the identifier you specified for your project in Redmine
                    :tracker => 'Bug',                           # the name of your desired tracker
                    :api_key => 'redmine_api_key',               # the key you generated in the previous step
                    :category => 'Development',                  # the name of a ticket category, optional
                  	:fixed_version_id => 25,                     # the default version, optional
                    :assigned_to => 'admin',                     # the login of a user the ticket should get assigned to by default, optional
                    :login => 'airbrake',                        # the login who should be displayed as author of the tickets. Defaults to anonymous.
                    :reopen_strategy => 'production',            # will only reopen if the error occurs on the specified environment. Defaults to all, optional.
                    :priority => 5                               # the default priority (use id instead of name, optional.)
                   }.to_yaml
  config.host = 'my_redmine_host.com'                            # the hostname your Redmine runs at
  config.port = 443                                              # the port your Redmine runs at
  config.secure = true                                           # sends data to your server using SSL, optional
end

Note: as of version 0.2, it is possible to specify defaults for all settings except :project and :api_key on the server using the web interface. Settings supplied by the client will take precedence however.

That's it. You may run rake airbrake:test to generate a test issue. If it doesn't work, check your logs and configuration, then submit an issue on Github

License

This plugin is licensed under the Apache license 2.0

Author

Written by Marcus Ilgner ([email protected])

Flattr this

redmine_airbrake_server's People

Contributors

brownbeagle avatar milgner avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.