Phillip Thelen
|
f8d315ff6e
|
Upgrade to mongoose 7 (#14971)
* remove some unused dependencies
* update mongoose version
* make common tests pass
* Make unit tests pass
* make api v3 integration tests pass
* fix lint issues
* fix issue with package-lock
* fix(lint): we don't need no .js
* fix(lint): update to latest config-habitrpg
* chore(npm): update package locks
* fix(test): replace deprecated fn
* chore(package): update eslint-habitrpg again
* fix(lint): server linting
* fix(lint): client linting
* fix(client): correct mangled common imports
* chore(npm): update package-locks
* fix(lint): punctuation, module
---------
Co-authored-by: SabreCat <sabrecat@gmail.com>
Co-authored-by: SabreCat <sabe@habitica.com>
|
2024-01-16 15:18:47 -06:00 |
|
Matteo Pagliazzi
|
85fb5f33aa
|
fix test lint
|
2019-10-08 20:45:38 +02:00 |
|
Carl Vuorinen
|
71c0939a15
|
Fix API early Stat Point allocation (#10680)
* Refactor hasClass check to common so it can be used in shared & server-side code
* Check that user has selected class before allocating stat points
|
2018-09-21 16:55:55 +02:00 |
|
negue
|
c26696a9eb
|
moving developer-only strings to api/common messages (#10258)
* move translatable string to apiMessages
* use apiMessages instead of res.t for groupIdRequired / keepOrRemove
* move pageMustBeNumber to apiMessages
* change apimessages
* move missingKeyParam to apiMessages
* move more strings to apiMessages
* fix lint
* revert lodash imports to fix tests
* fix webhook test
* fix test
* rollback key change of `keepOrRemove`
* remove unneeded `req.language` param
* extract more messages from i18n
* add missing `missingTypeParam` message
* Split api- and commonMessages
* fix test
* fix sanity
* merge messages to an object, rename commonMessage to errorMessage
* apiMessages -> apiError, commonMessages -> errorMessage, extract messages to separate objects
* fix test
* module.exports
|
2018-05-04 16:00:19 -05:00 |
|
SabreCat
|
9f06d78db6
|
Revert "moving developer-only strings to api messages (#10188)"
This reverts commit a42cb0e3ab. Testing hypothesis that this was causing Staging to break.
|
2018-04-15 17:09:15 +00:00 |
|
negue
|
a42cb0e3ab
|
moving developer-only strings to api messages (#10188)
* move translatable string to apiMessages
* use apiMessages instead of res.t for groupIdRequired / keepOrRemove
* move pageMustBeNumber to apiMessages
* change apimessages
* move missingKeyParam to apiMessages
* move more strings to apiMessages
* fix lint
* revert lodash imports to fix tests
* fix webhook test
* fix test
* rollback key change of `keepOrRemove`
* remove unneeded `req.language` param
* extract more messages from i18n
* add missing `missingTypeParam` message
|
2018-04-14 16:13:13 +02:00 |
|
Keith Holliday
|
3e37941e0a
|
Bulk stats (#9260)
* Reorganized stats
* Organized allocation common code
* Added bulk allocate to common
* Added allocate bulk route
* Fixed structure and lint
* Fixed import and apidoc
|
2017-10-31 12:57:44 -06:00 |
|