No description
Find a file
Phillip Thelen 12773d539e
Add interface to block ip-addresses or clients due to abuse (#15484)
* Read IP blocks from database

* begin building general blocking solution

* add new frontend files

* Add UI for managing blockers

* correctly reset local data after creating blocker

* Tweak wording

* Add UI for managing blockers

* restructure admin pages

* improve test coverage

* Improve blocker UI

* add blocker to block emails from registration

* lint fix

* fix

* lint fixes

* fix import

* add new permission for managing blockers

* improve permission check

* fix managing permissions from admin

* improve navbar display for non fullAccess admin

* update block error strings

* lint fix

* add option to errorHandler to skip logging

* validate blocker value during input

* improve blocker form display

* chore(subproj): reconcile habitica-images

* fix(scripts): use same Mongo version for dev/test

* fix(whitespace): eof

* documentation improvements

* remove nconf import

* remove old test

---------

Co-authored-by: Kalista Payne <kalista@habitica.com>
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
2025-08-06 15:08:07 -05:00
.ebextensions Old Client Cleanup (#9141) 2017-10-12 16:44:28 +02:00
.github Update test.yml (#15397) 2025-03-04 16:19:44 -06:00
.heroku Add script to notify on heroku deploys (#15286) 2024-09-03 18:14:22 -05:00
apidoc fix(wiki): use new API Guidelines link 2025-01-27 19:37:38 -06:00
database_reports Further transition from HTTP to HTTPS (#14039) 2022-06-10 14:02:58 -05:00
gulp refactor(client): move to Vite by @phillipthelen 2025-06-11 19:20:11 -05:00
habitica-images@992d838120 chore(subproj): update habitica-images 2025-06-26 17:55:24 -05:00
keys/google change Google iap-live for Android mobile app gem purchases, at negue's request 2015-12-03 06:22:59 +10:00
kubernetes Kubernetes support for dev environments (#8753) 2017-07-01 09:30:08 -07:00
migrations refactor(client): move to Vite by @phillipthelen 2025-06-11 19:20:11 -05:00
scripts fix(groups): add missing markModified 2025-06-26 18:08:57 -05:00
test Add interface to block ip-addresses or clients due to abuse (#15484) 2025-08-06 15:08:07 -05:00
website Add interface to block ip-addresses or clients due to abuse (#15484) 2025-08-06 15:08:07 -05:00
.babelrc refactor(client): move to Vite by @phillipthelen 2025-06-11 19:20:11 -05:00
.buildpacks Node 14 (#12715) 2020-11-30 20:02:06 +01:00
.codeclimate.yml Only list javascript in .codeclimate.yml 2015-08-02 17:54:05 +02:00
.dockerignore 11498: fixed issues with Dockerfile-Dev (#11518) 2019-11-27 14:01:13 -06:00
.editorconfig Create .editorconfig 2016-09-07 08:44:57 -05:00
.eslintignore fix(apidoc): change path in middleware and lintignore 2021-09-24 11:18:06 -05:00
.eslintrc.js Update .eslintrc.js (#15388) 2025-02-11 12:05:28 -06:00
.gitignore combined messages restyling - next round (#15386) 2025-03-04 17:00:24 -06:00
.gitmodules fix(sprites): add habitica-images as submodule 2021-12-31 13:03:02 -06:00
.nodemonignore Sign in with Apple (#11793) 2020-04-08 18:44:30 +02:00
.nvmrc chore(node): upgrade to Node 20 2024-03-11 09:59:57 -05:00
.slugignore chore(build): ignore non-deployable folders 2022-04-14 13:35:30 -05:00
config.json.example log slow requests to loggly (#15364) 2025-02-11 12:05:06 -06:00
docker-compose.dev.yml Enable Docker Replication Sets (#15298) 2024-09-24 11:22:22 -05:00
docker-compose.yml docker: mongodb3.6 2019-10-18 16:52:21 +02:00
Dockerfile-Dev Squashed commit of the following: 2024-06-28 09:49:08 -05:00
gulpfile.js refactor(client): move to Vite by @phillipthelen 2025-06-11 19:20:11 -05:00
LICENSE Update LICENSE 2020-04-28 09:17:46 +05:30
package-lock.json Add interface to block ip-addresses or clients due to abuse (#15484) 2025-08-06 15:08:07 -05:00
package.json Add interface to block ip-addresses or clients due to abuse (#15484) 2025-08-06 15:08:07 -05:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md Update README.md 2024-07-19 17:37:31 -05:00

Habitica Build Status

Habitica is an open-source habit-building program that treats your life like a role-playing game. Level up as you succeed, lose HP as you fail, and earn Gold to buy weapons and armor!

Want to contribute code to Habitica? We're always looking for assistance on any issues in our repo with the "Help Wanted" label. The wiki pages below and the additional linked pages will tell you how to start contributing code and where you can seek further help or ask questions:

Interested in contributing to Habiticas mobile apps? Visit the links below for our mobile repositories.

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 create an issue (an admin will advise you if a new issue is necessary; usually it is not).

Creating a third-party tool? Please review our API Usage Guidelines to ensure that your tool is compliant and maintains the best experience for Habitica players.

Have any questions about Habitica or contributing? See the links in the Habitica website's Help menu. Theres FAQs, guides, and the option to reach out to us with any further questions!