mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
No description
* remove removePunctuationFromString function from test code It's not needed now that the test banned words don't contain underscores. * prevent tests accidentally throwing messageGroupChatSpam This commit makes the user for most tests have contributor tiers so that the user can't trigger the messageGroupChatSpam error message (for posting messages too quickly). This is useful when some of the tests fail due to broken code because that makes more messages be posted than expected. If the user doesn't have tiers, the messageGroupChatSpam error message would be triggered, which gives misleading information about the test failure. * add tests for banned swear and slur words posted in mixed case * allow banned word error message to show bad words in the same case the user typed them * stop using randomly-chosen real banned words in tests The test modified in this commit had been using real banned words, which meant that those words were being displayed to the contributors when the test failed. NB the 'check all banned words are matched' test also uses the real banned words but the test failure messages don't show the words. * improve translatability of bannedWordUsed error message |
||
|---|---|---|
| .ebextensions | ||
| .github | ||
| database_reports | ||
| gulp | ||
| keys/google | ||
| kubernetes | ||
| migrations | ||
| scripts | ||
| test | ||
| vagrant_scripts | ||
| webpack | ||
| website | ||
| .babelrc | ||
| .buildpacks | ||
| .codeclimate.yml | ||
| .dockerignore | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .nodemonignore | ||
| .nvmrc | ||
| .travis.yml | ||
| apidoc.json | ||
| config.json.example | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Dockerfile-Production | ||
| gulpfile.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| Procfile | ||
| README.md | ||
| VAGRANT.md | ||
| Vagrantfile.example | ||
Habitica

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.