Git Product home page Git Product logo

brimir's People

Contributors

alisnic avatar andryyy avatar basschoen avatar bsylvain avatar crf444 avatar davidelbe avatar dependabot-support avatar fiedl avatar fkonigy avatar flohin avatar frenkel avatar fshahy avatar hadifarnoud avatar jamgregory avatar kidush avatar lacour avatar lostapathy avatar mantoine96 avatar marbball avatar mickael-kerjean avatar modsaid avatar mpakus avatar nshopik avatar sapslaj avatar stormsw avatar straight-shoota avatar stricte avatar viddypiddy avatar vrish88 avatar yongqianme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brimir's Issues

Manage users from dashboard

A new feature would be to manage users directly from within the interface after creating the first one.

This would require some kind of level system so that administrators can prevent certain users from creating more users etc.

rake aborted! Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile.

I am getting this error when i try to do "rake db:migrate"
rake aborted!

Specified 'sqlite3' for database adapter, but the gem is not loaded. Add gem 'sqlite3' to your Gemfile.
/Users/oruuser/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/connection_specific
ation.rb:58:in `rescue in resolve_hash_connection'

/Users/oruuser/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/connection_specific ation.rb:55:in `resolve_hash_connection'

rake aborted

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

EMail contains wrong URL when behind proxy inside local guest

Currently the system is deployed by us behind a proxy inside a virtual guest. Since that is registered as class A address (e.g. 10.0.x.y) emails sent out contain that as URL when new updates notifications are sent to agents. How can we modify the base url for the deploy?

New reply received for ticket: http://10.0.102.42/tickets/17 

Some message here...

Ticket EMails are not collated into one thread when customers reply

When a customer sends a issue mail to brimir, they might get some answer from an agent. Afterwards they might need to clarify something reg. that issue. This last reply and all further replies to an existing ticket are treated as new unique tickets. This makes it impossible for customers to e.g. answer an agents questions by mail which then get collected in one thread.

At the moment this more or less breaks and further communication after initial support request.

Customer sends support request ---(mail 1)---> Brimir
Agent in Brimir tags + answers on mail 1 ---(mail 2 in response to 1)--> Customer
Customer clarifies something for initial mail 1 ---(mail 3 in response to mail 2 & 1)--> Brimir

Last bit is treated as new support request mail.

In order to fix this we would need to assign some unique ticket number to e.g. the subject which is then used to decide if this is a new ticket or related to an existing one.

Clean Install fails with mysql

Using mysql, rake db:migrate fails with:

Mysql2::Error: BLOB/TEXT column 'content_type' can't have a default value: ALTER TABLE `replies` ADD `content_type` text DEFAULT 'markdown'/var/lib/gems/1.9.1/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:301:in `query'

The --trace option shows this error at the following step:

== 20130927133039 AddContentTypeToReplies: migrating ==========================
-- add_column(:replies, :content_type, :text, {:default=>"markdown"})

Error is resolved by replacing :text with :string on lines 3 and 4

Ticket EMail Messages sent to customers are in triplicate inside one mail

Once a support mail has been received by the system and a agent has answer the customer gets a mail with the answer. This answer is in triplicate (three) blocks inside one mail.

text plain mail block

text plain mail block

html mail block

This format is very odd. Despite each block being a mimepart the common email clients such as Gmail interface, Thunderbird etc. show this as three copies of the same answer underneath each other.

Compass-rails Issue

I'm facing an error while running bundle install:

msmosso@rhythm:~/brimir-master$ bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Could not find compass-rails-2.0.alpha.0 in any of the sources

Do not send email

Hello.
I tested the Birmir, and i not send reply where I push a "Send reply" button.

in /home/brimir# tail -f ./log/production.log I see the error

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Started POST "/replies" for 89.104.118.7 at 2014-01-15 15:34:24 +0400
Processing by RepliesController#create as HTML
Parameters: {"utf8"=>"โœ“", "authenticity_token"=>"jcEZpozHPYnB04hIOvjcCzYAI4Ns/mA4tG9TGJist9I=", "reply"=>{"ticket_id"=>"5", "to"=>"[email protected]", "cc"=>"", "bcc"=>"", "content"=>"11111111111111111"}, "commit"=>"Send reply"}
Rendered ticket_mailer/reply.html.erb (0.2ms)
Rendered ticket_mailer/reply.text.erb (0.1ms)
Rendered ticket_mailer/reply.text.erb (0.1ms)

Sent mail to [email protected] (8.7ms)
Completed 500 Internal Server Error in 54ms

ArgumentError (An SMTP From address is required to send a message. Set the message smtp_envelope_from, return_path, sender, or from address.):
app/models/reply.rb:35:in notify' app/controllers/replies_controller.rb:25:inblock in create'
app/controllers/replies_controller.rb:24:in `create'

incoming mail work correctly.

Where I set smtp_envelope_from, return_path, sender, or from address in brimir config files ?

MySQL doesn't support default values on blob/text columns

Trying to get your app running on MySQL, and some of the migrations break against MySQL (text columns can't have default values). I've commented out the default values to get the migration to succeed, but I don't know how much those defaults were relied on -- so the app may break now..

== 20130927133039 AddContentTypeToReplies: migrating ==========================
-- add_column(:replies, :content_type, :text, {:default=>"markdown"})
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: BLOB/TEXT column 'content_type' can't have a default value: ALTER TABLE replies ADD content_type text DEFAULT 'markdown'/usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:301:in `query'

Add section about configuring "From" address and default host url

I ran into this problem today, when testing brimir.
My mail server requires a valid From, so I hardcoded it in:

diff --git a/app/mailers/ticket_mailer.rb b/app/mailers/ticket_mailer.rb
index 1fdf77e..b82637b 100644
--- a/app/mailers/ticket_mailer.rb
+++ b/app/mailers/ticket_mailer.rb
@@ -15,6 +15,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.

 class TicketMailer < ActionMailer::Base
+  default from: '[email protected]'

   def reply(reply)
     @reply = reply

In my opinion it'd be nice if brimir sent mails using the replying agent's address as From and set Reply-To to its incoming mail address.

Sometimes the reply could not be sent, because the to address is missing

We should create a test case and fix this:

ArgumentError (An SMTP To address is required to send a message. Set the message smtp_envelope_to, to, cc, or bcc address.):
  app/models/reply.rb:35:in `notify'
  app/controllers/replies_controller.rb:42:in `block in create'
  app/controllers/replies_controller.rb:41:in `create'

Debugger error

I'm not being able to install debugger correctly when running bundle install:

Installing debugger-ruby_core_source (1.2.3)

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb 
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
Makefile creation failed
**************************************************************************
No source for ruby-2.0.0-p353 provided with debugger-ruby_core_source gem.
**************************************************************************
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

I use Ruby 2.0.0p353, but also tried and got the same issue with Ruby 1.9.3.
I'm running bundle install without "--without development:test", because I want to create a project based upon brimir, this way I'll need tests.

Per agent signature

It should be possible to set up a personalized signature for every agent of the system.

Database requirements

Is postgres an absolute necessity for installation, or can I use mariadb instead?

Projects

How about being able to assign tickets to projects?

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.