Phillip Thelen
8dcacdc92e
Only update user objects that don’t have notification yet ( #14514 )
...
* build(deps): bump stopword from 2.0.5 to 2.0.7 in /website/client (#14504 )
Bumps [stopword](https://github.com/fergiemcdowall/stopword ) from 2.0.5 to 2.0.7.
- [Release notes](https://github.com/fergiemcdowall/stopword/releases )
- [Commits](https://github.com/fergiemcdowall/stopword/commits/v.2.0.7 )
---
updated-dependencies:
- dependency-name: stopword
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump stripe from 11.6.0 to 11.10.0 (#14503 )
Bumps [stripe](https://github.com/stripe/stripe-node ) from 11.6.0 to 11.10.0.
- [Release notes](https://github.com/stripe/stripe-node/releases )
- [Changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stripe/stripe-node/compare/v11.6.0...v11.10.0 )
---
updated-dependencies:
- dependency-name: stripe
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump apidoc from 0.53.1 to 0.54.0 (#14501 )
Bumps [apidoc](https://github.com/apidoc/apidoc ) from 0.53.1 to 0.54.0.
- [Release notes](https://github.com/apidoc/apidoc/releases )
- [Changelog](https://github.com/apidoc/apidoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apidoc/apidoc/compare/0.53.1...0.54.0 )
---
updated-dependencies:
- dependency-name: apidoc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump @sideway/formula in /website/client (#14495 )
Bumps [@sideway/formula](https://github.com/sideway/formula ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases )
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: "@sideway/formula"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump validator from 13.7.0 to 13.9.0 in /website/client (#14492 )
Bumps [validator](https://github.com/validatorjs/validator.js ) from 13.7.0 to 13.9.0.
- [Release notes](https://github.com/validatorjs/validator.js/releases )
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/validatorjs/validator.js/compare/13.7.0...13.9.0 )
---
updated-dependencies:
- dependency-name: validator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump validator from 13.7.0 to 13.9.0 (#14488 )
Bumps [validator](https://github.com/validatorjs/validator.js ) from 13.7.0 to 13.9.0.
- [Release notes](https://github.com/validatorjs/validator.js/releases )
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/validatorjs/validator.js/compare/13.7.0...13.9.0 )
---
updated-dependencies:
- dependency-name: validator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump hellojs from 1.19.5 to 1.20.0 in /website/client (#14479 )
Bumps [hellojs](https://github.com/MrSwitch/hello.js ) from 1.19.5 to 1.20.0.
- [Release notes](https://github.com/MrSwitch/hello.js/releases )
- [Changelog](https://github.com/MrSwitch/hello.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MrSwitch/hello.js/compare/v1.19.5...v1.20.0 )
---
updated-dependencies:
- dependency-name: hellojs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /website/client (#14463 )
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33 )
---
updated-dependencies:
- dependency-name: ua-parser-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump cookiejar from 2.1.3 to 2.1.4 (#14462 )
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases )
- [Commits](https://github.com/bmeck/node-cookiejar/commits )
---
updated-dependencies:
- dependency-name: cookiejar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump glob from 8.0.3 to 8.1.0 (#14448 )
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.0.3 to 8.1.0.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.0.3...v8.1.0 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump dompurify from 2.4.1 to 2.4.3 in /website/client (#14443 )
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 2.4.1 to 2.4.3.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/2.4.1...2.4.3 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fixed typo (#14417 )
In "weaponSpecialWinter2023RogueNotes", changed "Incrases" to "Increases"
* Only update user objects that don’t have notification yet
* fix test
* fix spy
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gwenexner <49045733+gwenexner@users.noreply.github.com >
Co-authored-by: SabreCat <sabe@habitica.com >
2023-03-13 16:24:00 -05:00
Phillip Thelen
def24142ca
remove wrong test
2023-02-27 13:30:44 +01:00
Phillip Thelen
62b171ffa5
fix linting
2023-02-24 10:47:50 +01:00
Phillip Thelen
3f56b7fa3f
fix offset calculation
2023-02-17 15:42:31 +01:00
Phillip Thelen
c5f5da1d32
Merge remote-tracking branch 'origin/develop' into apple_sub_fix
2023-02-16 09:38:14 +01:00
SabreCat
ab706abed5
fix(test): remove outdated event expectation
2023-02-15 15:29:23 -06:00
Phillip Thelen
6ee2e3a379
Merge remote-tracking branch 'origin/develop' into apple_sub_fix
2023-02-13 17:38:14 +01:00
Natalie L
0335eb1f7e
chore(content): add February backgrounds and Enchanted Armoire Items ( #14482 )
...
* chore(content): add February backgrounds and Enchanted Armoire Items
* fix(test): birthday week adjustment
* fix(strings): .
* fix(strings): correct background tokens
---------
Co-authored-by: SabreCat <sabe@habitica.com >
Co-authored-by: Sabe Jones <sabrecat@gmail.com >
2023-02-07 09:12:19 -06:00
SabreCat
e0a5938711
fix(test): update expectations for new flagging logic
2023-02-06 21:34:51 -06:00
Phillip Thelen
aec2409227
lint fixes
2023-02-06 12:59:54 +01:00
Phillip Thelen
a3bc20f855
Fix case where a number was sometimes a string
2023-02-06 11:17:35 +01:00
Phillip Thelen
12479edb77
fix tests and some cases
2023-02-06 11:17:35 +01:00
Phillip Thelen
c0c6657536
handle upgrades and creations better
2023-02-06 11:17:35 +01:00
Phillip Thelen
0f7001b609
fix lint
2023-02-06 11:17:35 +01:00
Phillip Thelen
87558a325e
Handle subscription cancelation better
2023-02-06 11:17:35 +01:00
Phillip Thelen
de48925341
remove only
2023-02-06 11:17:35 +01:00
Phillip Thelen
614850e56c
fix tests
2023-02-06 11:17:35 +01:00
Phillip Thelen
64a3515c10
Add logic for different types of sub upgrades
2023-02-06 11:17:35 +01:00
Phillip Thelen
8dfa21a4b8
Add field to track when current subscription type started
2023-02-06 11:17:35 +01:00
Phillip Thelen
ddf1b4060d
Better handling for cancellation when user had multiple subs
2023-02-06 11:17:35 +01:00
Phillip Thelen
967717a010
Fix logic for apple subscriptions
2023-02-06 11:17:35 +01:00
SabreCat
9b791b4ba0
fix(test): save user to avoid lock errors
2023-02-06 11:17:35 +01:00
SabreCat
5aca5b4be7
fix(test): linting
2023-02-06 11:17:35 +01:00
Phillip Thelen
0dd25b6431
fix issue where subs would be applied multiple times
2023-02-06 11:17:35 +01:00
Phillip Thelen
cf75d941fa
fix test
2023-02-06 11:17:35 +01:00
Phillip Thelen
f07d0f6441
Implement correct handling for when subs are up/downgraded
2023-02-06 11:17:24 +01:00
Phillip Thelen
98ec1757f9
fix tests
2023-02-06 11:16:24 +01:00
SabreCat
ac239e32ce
fix(payments): wrap up adjusted test expectations
2023-01-23 00:45:31 -06:00
SabreCat
3474cbf138
fix(payments): correct more tests
2023-01-22 23:02:18 -06:00
SabreCat
f845bbd7a0
fix(payments): address some test failures
2023-01-22 22:30:48 -06:00
SabreCat
e5bbde7e97
feat(event): 10th Birthday Bash
...
with @CuriousMagpie and @phillipthelen
2023-01-20 16:14:33 -06:00
SabreCat
6d33ec02a8
Merge branch 'release' into develop
2022-12-19 16:24:48 -06:00
SabreCat
1f59d95465
Merge branch 'sabrecat/pass-change-max' into release
2022-12-15 15:02:05 -06:00
Adam Fitzgibbon
42e0bad4ac
added validation for blocked users when inviting to groups by username ( #14316 )
2022-12-15 14:47:54 -06:00
Phillip Thelen
2c9ee04c6d
Optimise chat storage by not storing both equipped and costume ( #14409 )
...
* don’t store both equipped and costume
* fix lint
2022-12-15 14:30:15 -06:00
Sabe Jones
eb2cb9e921
Refactor FAQ ( #14372 )
...
* refactor(faq): fetch from API on web
Also make question list more maintainable, allowing different questions across platforms
* fix(tests): don't return null when function is expected
Also removes the unnecessary default to web in controller
* fix(tests): add new fields to expectation, add placeholders
* refactor(faq): allow reordering
Co-authored-by: SabreCat <sabe@habitica.com >
2022-12-15 11:34:07 -06:00
SabreCat
df25e0574d
fix(auth): enforce max pass length at update
2022-12-05 16:36:42 -06:00
SabreCat
f1fa6a8456
Revert "Allow sub upgrades/downgrades on iOS ( #14303 )"
...
This reverts commit 9e98e56e9b .
2022-11-21 16:40:56 -06:00
Sabe Jones
82c5e40b92
Enforce maximum password length ( #14290 )
...
* fix(auth): enforce maximum password length
* fix(auth): line length and better error message
* fix(auth): correctly import/export constant
Co-authored-by: SabreCat <sabe@habitica.com >
2022-11-18 16:49:10 -06:00
SabreCat
f2aaee15f3
Merge branch 'release' into develop
2022-11-18 15:29:06 -06:00
SabreCat
febffb3f07
Revert "Fix double subscriptions, second attempt ( #14345 )"
...
This reverts commit 1a5cba57b7 .
2022-11-18 14:26:49 -06:00
SabreCat
fdfa2d6df4
Merge branch 'release' into develop
2022-11-15 19:29:37 -06:00
Sabe Jones
1a5cba57b7
Fix double subscriptions, second attempt ( #14345 )
...
* fix(subscriptions): reject subs that come in too fast
* fix(lint): remove unused import
* fix(groups): individual subs may come rapidly
* fix(subscriptions): bad paren, handle rapid testing
* fix(test): reset dateUpdated between subs
* fix(test): one more block for dateUpdated
Co-authored-by: SabreCat <sabe@habitica.com >
2022-11-15 19:19:37 -06:00
SabreCat
9b1a726875
Revert "feat(subs): allow upgrade/downgrade on iOS"
...
This reverts commit 27440772f0 .
2022-11-02 09:00:29 -05:00
Phillip Thelen
9e98e56e9b
Allow sub upgrades/downgrades on iOS ( #14303 )
...
* Allow sub upgrades/downgrades on iOS
* fix check
* fix(lint): line length
* fix(typo): customER
* fix tests
* Implement correct handling for when subs are up/downgraded
* fix lint errors
* fix test
Co-authored-by: SabreCat <sabe@habitica.com >
Co-authored-by: Sabe Jones <sabrecat@gmail.com >
2022-11-01 21:07:23 -05:00
SabreCat
27440772f0
feat(subs): allow upgrade/downgrade on iOS
...
by @phillipthelen
2022-11-01 20:53:04 -05:00
SabreCat
aea0be3245
fix(subs): establish lock to prevent race condition
2022-11-01 20:47:21 -05:00
negue
f7a03d2eb5
improve transactions logs + split createSubscription ( #14289 )
...
* improve transactions logs + split createSubscription
2022-10-27 08:39:06 +02:00
Sabe Jones
90250d1a25
Establish lock to avoid race scenario in subscriptions ( #14267 )
...
* fix(subscription): establish lock to avoid race scenario
* fix(lint): import syntax
* fix(lint): whitespace, dependency cycle
* fix(subs): skip locking on gifts and groups
* fix(subs): correctly reset _subSignature
* fix(sub): use findOneAndUpdate for unlock
* fix(test): save newly created user for some reason
Co-authored-by: SabreCat <sabe@habitica.com >
2022-10-25 16:44:33 -05:00
Anton de Regt
a4326498d1
Group category update issue ( #14186 )
...
* Overwrite arrays instead of merging
* Test removing a category
* Fix previous duplicated categories on group edit
2022-10-12 15:51:56 -05:00