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
Alys
82a5bc236f
clarify all "Invalid uuid" messages by making each unique
2020-01-29 15:49:55 +10:00
Matteo Pagliazzi
621787915c
start upgrading eslint
2019-10-08 16:57:10 +02:00
Matteo Pagliazzi
45f7cf04ab
remove old module.exports from server aswell
2019-10-02 19:45:27 +02:00
Matteo Pagliazzi
dadb752087
Mongoose: use $type as the typeKey ( #10789 )
...
* use $type as the typeKey in mongoose
* fix and add tests
2018-10-28 15:23:41 +01:00
Matteo Pagliazzi
c813afba44
Upgrade mongoose ( #10767 )
...
* fix mongoose and upgrade
* fix more validations
2018-10-23 13:25:14 +02:00
Matteo Pagliazzi
4394772ee3
Revert "Small Updates ( #10701 )" ( #10702 )
...
This reverts commit dd7fa73961 .
2018-09-20 22:36:46 +02:00
Matteo Pagliazzi
dd7fa73961
Small Updates ( #10701 )
...
* small updates
* fix client unit test
* fix uuid validation
2018-09-20 15:01:12 +02:00
Matteo Pagliazzi
98c019a0b6
Upgrade lodash to v4 and lint more files ( #8495 )
...
* common: import lodash modules separately
* remove test/content from .eslintignore, fix with eslint --fix content/index
* lint test/content
* lint content/index except for lodash methods
* upgrade server/models
* upgrade server/middlewares and server/libs
* port server/controllers/top-level
* port server/controllers/api-v3
* port views and tests
* client old port lodash and _(, missing _.
* upgrade client-old
* port common/script (root level files only)
* port common/script/fns
* port common/libs
* port common/script/ops
* port common/script/content and common/script/libs/shops.js
* misc fixes
* misc fixes
* misc fixes
* more tests fixes
* fix payments test stubbing, down to 2 failing tests
* remove more instances of lodash wrapping
* fix bug where toObject does not clone object
* fix tests
* upgrade migration or add lodash 4 note
* update shrinkwrap
* fix linting
* upgrade eslint-config-habitrpg
* update shrinkwrap
* recompile shrinkwrap
2017-03-01 17:10:48 +01:00
Matteo Pagliazzi
60f34dafb0
Deprecate API v2 (was Revert "Revert "Deprecate API v2"") ( #7802 )
...
* Revert "Revert "Deprecate API v2""
* fix path in shops controller
2016-08-01 22:36:10 +02:00
Matteo Pagliazzi
590adb3438
Revert "Deprecate API v2" ( #7801 )
2016-07-17 18:15:25 +02:00
Matteo Pagliazzi
45c31a2bcf
Deprecate API v2 ( #7761 )
...
* deprecate api-v2
* remove v2 test helpers
* remove unused string
2016-07-16 19:56:18 +02:00