Giter Site home page Giter Site logo

habitrpg-email-server's Introduction

Habitica Build Status Code Climate Bountysource

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

We need more programmers! Your assistance will be greatly appreciated. The wiki pages below and the additional pages they link to will tell you how to get started on contributing code and where you can go to seek further help or ask questions:

Habitica's code is licensed as described at https://github.com/HabitRPG/habitica/blob/develop/LICENSE

Found a bug? Please report it to admin email rather than creating an issue (an admin will advise you if a new issue is necessary; usually it is not).

Have any questions about Habitica or its community? See the links in the habitica.com website's Help menu or drop in to Guilds > Tavern Chat to ask questions or chat socially!

habitrpg-email-server's People

Contributors

dependabot[bot] avatar lynxlynxlynx avatar negue avatar paglias avatar phillipthelen avatar sabrecat avatar thehollidayinn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

habitrpg-email-server's Issues

Not all templated fields get populated in `text/plain` mail.

Today I received a HabitRPG email with the subject "Your Weekly Progress Update". By default, my mailer (Claws) shows the text/plain component and only displays the text/html if requested. In the text/plain bit, I encountered this:

The oldest To-Do that you completed was added on: |OLDEST_TODO_COMPLETED_DATE|*.

which I expect should have been populated with the same date information that was visible in the text/html portion.

I poked through the habitrpg-email-server project and didn't seen an obvious template that was used, so this might be lodged against the wrong HabitRPG project. If so, I'd gladly report it against whatever one you direct me to instead.

As a side note, there was an extra backslash-escaping of an apostrophe in the same email, "Keep going, and you'll earn a 21-Day Streak Achievement!" but again, only in the text/plain component (the text/html was just fine).

Negative habits misrepresented in the Weekly report

Habits that are negative-only can't get blue, so their maximum is at the yellow value range. However, the counter in the weekly report still considers such habits as bad, even though this is the best they can be (besides not existing).

I propose that they (and only they) be counted as good if their value is above -1.1. The asymptote seems to be near -1.0xyz for my few examples, not zero as I expected. The code is currently just checking if the value is less than 1 and disregarding the type.

Restore password. Bug, no documentation?

Hi, I use habitica and habitrpg-email-server + Mandrill API. I want to do a password recovery via a link and have created a corresponding template for that.

image

But when I try to click the link I get a 404 although this URL is sent in the habitrpg-email-server request. What could be the error?

image
image.
image

Also, it should be noted that the request to send an email is sent through the habitrpg-email-server, is only made when in the file \website\server\libs\email.js check for Boolean value IS_PROD, because the token "IS_PROD": "true" in the file config.json is not read and by default is always false. How do I fix this unusual behavior?

image

Memory leak

Despite #1 being fixed there's still a memory leak with weekly recap emails. It's not high priority as Heroku restarts the server every 24hrs

On translate.habitica.com emails are broken

Screenshot_2019-08-13 Interner Serverfehler
There is a (may be configuration) problem with emails on translate.habitica.com.
In my case I tried to register to weblate and everything looks fine except that the email with the confirmation code is never sent. I run my own mail server, so I can see there clearly is no sign of any incoming mail. Other user from the Commonwealth of i18n also reported this.
Also trying to report this problem via https://translate.habitica.com/contact/?t=reg ends in an internal server error.

How to connect to send e-mail?

Hello, can you tell us how to set up your mail service?

  1. In the config.json settings of the habitica project, should I explicitly specify the URL of my mail server with or without a port (e.g. https://mydomain.com or https://mydomain.com:3100 in EMAIL_SERVER_URL)?

  2. A similar question for the habitrpg-email-server project, what should I specify in BASE_URL, the URL of the habitica backend with or without port (e.g. https://mydomain.com or https://mydomain.com:3000)? If I understand correctly, can the habitrpg-email-server send mail only through the MANDRILL API?

  3. There is no way to use SMTP sending, it looks very strange that the OpenSource project uses a paid and proprietary API.

  4. If you really can send mail only through the MANDRILL API, then be sure to buy Standart and higher tariff plan what to unlock Transactional Email?

  5. And why do I need tokens AWS_, STRIPE_API_KEY, AMAZON_PAYMENTS, PAYPAL_, S3 in the project config.json for habitrpg-email-server ? Isn't it just a server for sending mail?

Outdated packages

Package                 Current  Wanted  Latest  Location
chai                      3.5.0   3.5.0   4.1.2  habitrpg-email-server
eslint                   3.19.0  3.19.0  4.16.0  habitrpg-email-server
eslint-config-habitrpg    2.0.2   2.0.2   3.0.0  habitrpg-email-server
mocha                     3.5.3   3.5.3   5.0.0  habitrpg-email-server
monk                      3.1.4   3.1.4   6.0.5  habitrpg-email-server
nchart                    1.0.1     git     git  habitrpg-email-server
nconf                     0.8.5   0.8.5  0.10.0  habitrpg-email-server
push-notify               1.2.0     git     git  habitrpg-email-server
sinon                    1.17.7  1.17.7   4.2.0  habitrpg-email-server
uuid                      2.0.3   2.0.3   3.2.1  habitrpg-email-server

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.