ivaldi / brimir Goto Github PK
View Code? Open in Web Editor NEWEmail helpdesk built using Ruby on Rails and Zurb Foundation
Home Page: http://getbrimir.com
License: GNU Affero General Public License v3.0
Email helpdesk built using Ruby on Rails and Zurb Foundation
Home Page: http://getbrimir.com
License: GNU Affero General Public License v3.0
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
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.
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
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.
It should be possible to set up a personalized signature for every agent of the system.
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'
We should filter JavaScript, iframes etc.
I'm running brimir under nginx/passenger and the css is coming up 404 (link is http://idsupport.semperfried.com)
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...
When forwarding an issue from a customer emailed to my own email, it would be nice if I could the answer the email directly from Brimir.
I introduced a bug in tickets#create that was not detected until it was deployed in production.
Missing back button on ticket detail
Ccould be an agent instead of the customer.
Is it possible to create tickets directly from within the interface?
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:in
block 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 ?
The ability to translate the interface into different languages.
Password reset screen doesn't have styling
Send an email to the assignee of a ticket to inform him/her.
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.
These should not be sent to the customer.
When I try to login to your demo application I get a login error
URL: http://demo.getbrimir.com/users/sign_in
Credentials: [email protected] / letmein
Add a WYSIWYG editor for HTML replies.
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'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Correctly handle charsets other than UTF-8 (problem on PostgreSQL). This seems to have something to do with the mail gem:
mikel/mail#431
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.
It should be possible to add an attachment when posting a reply.
Can you please provide a user guid how to test brimir with mailman in local
We believe thread-topic is used by Microsoft Exchange for threading. This should thus be supported together with the already working "references/in-reply-to".
See also:
http://msdn.microsoft.com/en-us/library/exchange/ms874622%28v=exchg.65%29.aspx
Have you considered supporting hosted incoming mail services (like Sendgrid or Mandrill)? If it's on the drawing board, you might want to consider making use of this gem that supports a number of those services: https://github.com/thoughtbot/griddler
What are the suggested/minimum setup requirement for Brimir?
Is postgres an absolute necessity for installation, or can I use mariadb instead?
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.
How about being able to assign tickets to projects?
Add CC/BCC functionality for replies.
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'
Reply on a ticket can be an empty message.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.