Files
habitica/website/server/controllers/api-v3
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
..
2023-05-02 09:51:33 -05:00
2022-11-15 19:28:36 -06:00
2021-11-24 11:51:00 -06:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-11 13:03:05 +02:00
2020-10-13 10:15:52 -05:00
2020-03-01 20:53:33 +01:00
2019-10-13 18:31:43 +02:00
2021-11-04 16:33:08 -05:00
2023-05-16 12:21:45 -05:00
2022-06-16 13:25:56 -05:00
2021-03-23 11:58:21 -05:00