habitica-self-host/test/api/unit/models
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
..
challenge.test.js Added code to update user tag list along with the existing code that already involves updating the user documents of challenge members (#12312) 2020-07-03 21:55:59 +02:00
group.test.js Update to new method for fcm (#15238) 2024-06-11 13:19:03 -05:00
group_tasks.test.js fix(teams): tweak FAQ and fix sync test 2022-08-22 14:43:21 -05:00
message.test.js tests(message model): add unit tests 2020-03-04 17:51:14 +01:00
newsPost.js Upgrade to mongoose 7 (#14971) 2024-01-16 15:18:47 -06:00
pushDevice.test.js add final tests for push devices and notifications 2020-03-01 22:10:11 +01:00
tag.test.js fix tags 2020-03-01 22:21:53 +01:00
task.test.js Upgrade to mongoose 7 (#14971) 2024-01-16 15:18:47 -06:00
user.test.js Add interface to block ip-addresses or clients due to abuse (#15484) 2025-08-06 15:08:07 -05:00
userNotification.test.js add final tests for push devices and notifications 2020-03-01 22:10:11 +01:00
webhook.test.js chore(node): upgrade to Node 20 2024-03-11 09:59:57 -05:00