Alys 8888e63005 limit chat message flagging ability for new players - fixes #10069 (#10567)
* remove duplicate module.exports statement

* remove commented-out footer in Slack slur notification

There's no need for anything to replace this footer.

* swap order of flag actions to put most critical first

This causes moderators to be notified before the flagged message's flagCount is incremented, because if something happens to prevent the flagGroupMessage Promise from resolving, we still want to mods to see the notification.

* limit chat message flagging ability for new players

Players who created accounts less than three days ago can flag posts
but that does not contribute to the posts' flagCount. This prevents
a troll from maliciously hiding innocent messages by creating new
accounts to flag them.

* add tests

* fix other tests
2018-08-03 12:04:01 +02:00
2017-10-12 16:44:28 +02:00
2018-06-18 14:40:25 +02:00
2018-08-01 19:51:43 +00:00
2018-03-15 19:59:36 +01:00
2018-03-15 19:59:36 +01:00
2018-07-12 15:49:22 -05:00
2018-03-15 19:59:36 +01:00
2016-12-28 09:33:24 +01:00
2016-12-26 16:04:36 +01:00
2018-03-15 19:59:36 +01:00
2018-06-18 14:40:25 +02:00
2018-07-01 18:23:40 -05:00
2018-08-02 18:46:57 +00:00
2018-08-02 18:46:57 +00:00

Habitica Build Status Code Climate Coverage Status Bountysource Open Source Helpers

Greenkeeper badge

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.

For an introduction to the technologies used and how the software is organized, refer to Guidance for Blacksmiths.

To set up a local install of Habitica for development and testing on various platforms, see Setting up Habitica Locally.

S
Description
A habit tracker app which treats your goals like a Role Playing Game.
Readme 1.8 GiB
Latest
2026-04-09 12:54:31 -05:00
Languages
JavaScript 51.7%
Vue 23.8%
CSS 23.7%
SCSS 0.7%