The Wayback Machine - https://web.archive.org/web/20201113081845/https://github.com/topics/heroku
Skip to content
#

Heroku

heroku logo

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.

Here are 7,769 public repositories matching this topic...

chatwoot
sojan-official
sojan-official commented Oct 2, 2020

Enhancement

Label names in chatwoot only support alphabets, numbers, hyphen and underscore.
At the moment the available validation doesn't show the user any errors, which would leave the user confused.

So let's add a validation error describing this behaviour

Current behaviour

<img width="1273" alt="Screenshot 2020-10-02 at 4 29 03 PM" src="https://user-images.githubuserconten

juanda99
juanda99 commented Sep 30, 2016

It would be better to use bcrypt, beause its more secure as it's slower (uses more computing cycles).
Your code could also be better:

You wouldn't need salt field in User model, because it's saved into the same field as password does.

For authentication, something like:

var mongoose = require('mongoose'),
  bcrypt = require('bcryptjs');

var userSchema = mongoose.Schema({
  email: String,
papercups
reichert621
reichert621 commented Nov 11, 2020

Problem
This query could be made more efficient. We currently fetch all conversations ordered by :inserted_at, while in the UI we display them based on how recently a message was sent within it (i.e. message.sent_at).

Solution
Optimize this query to order the results by the most recently sent message associated with the conversation.

It might also be helpful to write a query to

Organization
heroku
Website
www.heroku.com
Wikipedia
Wikipedia
You can’t perform that action at this time.