habitica-self-host/website/common/script
Phillip Thelen 8150fef993
Database Access optimisations (#14544)
* Optimize database access during spell casting

* load less data when casting spells

* Begin migrating update calls to updateOne and updateMany

* Only update user objects that don’t have notification yet

* fix test

* fix spy

* Don’t unnecessarily update user when requesting invalid guild

* fix sort order for middlewares to not load user twice every request

* fix tests

* fix integration test

* fix skill usage not always deducting mp

* addtest case for blessing spell

* fix healAll

* fix lint

* Fix error for when some spells are used outside of party

* Add check to not run bulk spells in web client

* fix(tags): change const to let

---------

Co-authored-by: SabreCat <sabe@habitica.com>
2023-05-16 12:21:45 -05:00
..
content Database Access optimisations (#14544) 2023-05-16 12:21:45 -05:00
errors Squashed commit of the following: 2023-05-02 09:51:33 -05:00
fns fix(analytics): reduce item drop firehose 2021-08-30 17:54:21 -05:00
libs feat(cont): 2023 Spring Fling content (#14525) 2023-03-17 15:05:04 -05:00
ops feat(event): 10th Birthday Bash 2023-01-20 16:14:33 -06:00
.eslintrc.js start fixing commong 2019-10-09 16:51:17 +02:00
constants.js fix(3p): bad import, change flag format 2023-04-19 09:33:03 -05:00
count.js start fixing commong 2019-10-09 16:51:17 +02:00
cron.js fix typo 2023-02-10 17:13:04 +01:00
i18n.js Better XSS Fix (#12483) 2020-08-20 13:41:46 -05:00
index.js fix(3p): bad import, change flag format 2023-04-19 09:33:03 -05:00
statHelpers.js start fixing commong 2019-10-09 16:51:17 +02:00