Keith Holliday
90ffe587dd
Added analytics to drop ( #9792 )
...
* Added analytics to drop
* Updated tracking category
2018-01-22 09:15:23 -07:00
Keith Holliday
d4e0417c48
Added challenge tag when challenge task is added to existing challenge ( #9833 )
2018-01-22 08:19:27 -07:00
Matteo Pagliazzi
de93b47493
add new notifications types
2018-01-20 17:28:50 +01:00
Keith Holliday
c0276e3663
More staging fixes ( #9816 )
...
* Added ability to adjust challenge task copy's streak
* Disabled stat allocation if method is incorrect
2018-01-18 11:51:56 +01:00
Keith Holliday
dd95acf436
Added coupon purchasing back to stripe ( #9794 )
2018-01-15 12:12:19 -07:00
Keith Holliday
935fa1baae
Fixed update query to revert challenge tags when broken ( #9791 )
2018-01-15 10:31:33 -07:00
Keith Holliday
0ea91016f8
Trimmed username spaces ( #9793 )
2018-01-15 10:20:36 -07:00
zags
2a2c525c2d
Add support for multiDaysCountAsOneDay == false to evasion ( #9077 )
...
* Add support for `multiDaysCountAsOneDay == false` to evasion
`if (dailiesDaysMissed > 1) dailiesDaysMissed = 1;` causes the evasion for-loop to only evaluate once even if `multiDaysCountAsOneDay == false`. This statement isn't necessary because `if (multiDaysCountAsOneDay) break;` will cause the for-loop to evaluate only once if `multiDaysCountAsOneDay == true`. Removing this statement makes the `dailiesDaysMissed` variable unnecessary.
* Moves break statement out of conditional
2018-01-12 16:12:19 -06:00
Sabe Jones
b2c1c9d9dc
Merge branch 'release' into develop
2018-01-12 21:54:20 +00:00
SabreCat
0ca2f9034f
Revert "WIP: Buy-1-Get-1 Gift Subs ( #9719 )"
...
This reverts commit dc3d694d0e , with the exception of locale strings that need not be purged.
2018-01-12 21:15:42 +00:00
Keith Holliday
4c7157807b
Synced isdue/next due when user joins challenge ( #9779 )
2018-01-12 10:16:51 -06:00
Keith Holliday
e0bf6d2e55
Reverted group flag code ( #9784 )
...
* Reverted group flag code
* Reverted all flagging code
* Added hyphens back
2018-01-11 12:04:07 -06:00
Sabe Jones
b53c03bca8
Merge branch 'release' into develop
2018-01-10 16:42:13 +00:00
Keith Holliday
98d4fb0f34
Chat flag inbox ( #9761 )
...
* Refactored chat reporting
* Added inbox flag chat
* Added flag chat to inbox
* Added you have flagged message
2018-01-08 13:13:25 -06:00
Keith Holliday
d3ee3ca53d
Updated plan updated date if user has cancelled ( #9773 )
...
* Updated plan updated date if user has cancelled
* Added test for plan with only date updated
2018-01-08 12:50:15 -06:00
kartik adur
229e39facf
Other user checkins: user profile modal checkin count ( #9646 )
...
* add loginIncentives to public fields to show non-loggedin user checkins
* update integration tests for update in api response
2018-01-05 13:29:38 -06:00
Sabe Jones
7e241bb76f
Merge branch 'release' into develop
2018-01-03 00:07:42 +00:00
SabreCat
88e6b2da7c
feat(content): Armoire and BGs 2018-01
...
Also ends New Year's hat fanciness
2018-01-02 23:49:50 +00:00
Sabe Jones
da73c5c418
Merge branch 'release' into develop
2017-12-31 02:45:04 +00:00
SabreCat
d57c525fab
feat(event): New Year's 2017-18
2017-12-31 02:34:52 +00:00
Alys
9a3a104ba4
fix typo in apidocs comment block
2017-12-30 08:43:11 +10:00
Keith Holliday
63bba13b5f
Changed paypal redirect to subscription page ( #9742 )
2017-12-26 17:31:23 -06:00
Alys
a3bf329c44
make reset password apidocs comment more accurate
2017-12-24 09:23:32 +00:00
SabreCat
714512b0a3
fix(promo): send payment method with promo
2017-12-20 18:41:19 +00:00
Matteo Pagliazzi
6988875e8a
fix promo gifting
2017-12-20 19:09:15 +01:00
SabreCat
e229bc5042
Merge branch 'release' into develop
2017-12-15 05:37:04 +00:00
Sabe Jones
dc3d694d0e
WIP: Buy-1-Get-1 Gift Subs ( #9719 )
...
* feat(promo): Buy-1-Get-1 Gift Subs
* feat(promo): add explanatory text to subscription screens
Also adds some add'l test coverage and creates a test context for this event
2017-12-14 23:09:02 -06:00
Keith Holliday
c28ec24c33
Added notification for when leader is updated ( #9674 )
...
* Added notification for when leader is updated
* Abstracted challenge member search component
* Added challenge member search modal to challenge detail
* Added group search
2017-12-14 12:12:43 -06:00
Keith Holliday
05640f513e
Added test to recreate early cron issue ( #9668 )
...
* Added test to recreate early cron issue
* Gave user extra time based on reverse timezone change
2017-12-14 09:09:11 -06:00
Keith Holliday
2bb5751f33
Added float rounding ( #9657 )
...
* Added float rounding
* Changed to isNaN
2017-12-11 11:48:50 -06:00
Keith Holliday
2570c59130
Ensured admin can always PM user ( #9653 )
...
* Ensured admin can always PM user
* Fixed lint issues
* Updated admin check and removed async
* Removed console log
2017-12-11 11:48:17 -06:00
Keith Holliday
2dfcda068b
Added streak to export of challenge tasks ( #9625 )
...
* Added streak to export of challenge tasks
* Fixed tests
2017-12-11 11:39:43 -06:00
Keith Holliday
a7c115877f
Added query option to limit query fields ( #9642 )
...
* Added query option to limit query fields
* Removed only
2017-12-11 10:24:19 -06:00
Keith Holliday
57193bd5f3
Ensured quest drops are only from incomplete progress ( #9671 )
...
* Ensured quest drops are only from incomplete progress
* Fixed spelling error
2017-12-07 12:33:40 -05:00
Keith Holliday
e1a1b4eab6
Added body param for remove message ( #9669 )
...
* Added body param for remove message
* Removed console.log
2017-12-07 11:52:28 -05:00
Tyler Nychka
bfaa7c0fea
Validate that everyX values in dailies are integers bounded by 0 and 9999 fixes #8782 ( #9268 )
...
* Validate that everyX values are integers bounded by 0 and 9999
* Added client side check
* Updated tests
* Added migration for bad dailies
Near idential to the other task migration.
* fix(typo): camelCase function call
2017-12-05 13:55:32 -06:00
SabreCat
f3c2c0f901
Merge branch 'release' into develop
2017-12-04 19:23:55 +00:00
Keith Holliday
13cdcedcba
Added support for scoring group tasks down after approval ( #9623 )
...
* Added support for scoring group tasks down after approval
* Fixed lint issues
2017-12-04 11:23:47 -06:00
Matteo Pagliazzi
72f0b8ed7c
send correct email when user is removed from group plan
2017-12-04 12:04:07 +01:00
Keith Holliday
af095d8450
Revert query optimization ( #9636 )
2017-12-02 08:35:31 -06:00
Keith Holliday
9421fd7ced
Added analytics to backgrounds ( #9615 )
2017-11-30 12:10:49 -06:00
Keith Holliday
699de64328
Added more fields to scoring ( #9613 )
2017-11-30 10:09:04 -06:00
Keith Holliday
a097819b72
User auth performance improvements ( #9589 )
...
* Added initial user projecting in auth and fixed projection for get user tasks
* Added fields to score route
* Added another field to get tasks
* Added group fields to user
2017-11-30 08:17:28 -06:00
SabreCat
d72b40d5b0
Merge branch 'release' into develop
2017-11-29 05:07:42 +00:00
SabreCat
00dc990974
chore(event): end Thanksgiving, add Bailey
2017-11-29 05:03:01 +00:00
Keith Holliday
b03ddf6f7d
Added fix for task order using / for arrays ( #9590 )
2017-11-28 14:57:08 -06:00
MathWhiz
200cd66d66
Use config when starting development server ( #9410 )
...
* Use config when starting development server
* import nconf setup from website
* Add comment explaining choice
* Fix lint issues
2017-11-27 20:38:27 -06:00
Asif Mallik
299e88233c
Fixes multiple complete and uncomplete for todos and daily ( Fixes #8669 ) ( #8971 )
...
* Fixed bug that allows users to complete todo and daily multiple times
* Added tests
* Fix syntax
* Fix existing tests that rely on multiple complete or uncomplete
* Undoes removal of website/client/README.md
* Change sessionOutdated string to reflect separate client needs
* Fix should update history test by changing lastCron
2017-11-27 20:13:18 -06:00
Garrett Scott
d95836b881
Translator minor changes fixes #8917 ( #9297 )
...
* Updated userItemsNotEnough string
* Added a variable to be passed to the deleteSocialAccountText string. This variable name is `magic_word` and is set as DELETE where used
* modified incorrectDeletePhrase to use a variable rather than translatable string for the word DELETE. Updated the DELETE-user test and the user api
* Changed noSudoAccess from translatable string to static
* Changed enterprisePlansEmailSubject from a translatable string to a static string within groupPlans.vue
* Fixed test problems with translation fixes
* Added no sudo access string to api messages
* changed plain string to apiMessage for no sudo access messages
2017-11-27 20:08:39 -06:00
Esben Sparre Andreasen
b62f08d500
Misc. bug fixes from lgtm.com (2) ( #9474 )
...
* Remove dead branch of ternary: `gift` is always truthy here
Problem found here:
- https://lgtm.com/projects/g/HabitRPG/habitrpg/snapshot/dist-98076885-1510577633582/files/website/server/libs/amazonPayments.js?sort=name&dir=ASC&mode=heatmap&excluded=false#x5a22f31110a55091:1
* Remove superfluous argument, preenUserHistory only takes two args
Problem found here:
- https://lgtm.com/projects/g/HabitRPG/habitrpg/snapshot/dist-98076885-1510577633582/files/website/server/libs/cron.js?sort=name&dir=ASC&mode=heatmap&excluded=false#xf16a045ecabb07f6:1
* Cleanup: remove useless assignments
Problems found here:
- https://lgtm.com/projects/g/HabitRPG/habitrpg/snapshot/dist-98076885-1510577633582/files/website/client/store/actions/shops.js?sort=name&dir=ASC&mode=heatmap&excluded=false#xf782ed2cf920441%3A1
- https://lgtm.com/projects/g/HabitRPG/habitrpg/snapshot/dist-98076885-1510577633582/files/website/client/app.vue?sort=name&dir=ASC&mode=heatmap&excluded=false#x172c1dda85e84dc8%3A1
- https://lgtm.com/projects/g/HabitRPG/habitrpg/snapshot/dist-98076885-1510577633582/files/website/client/components/settings/site.vue#x9b3afee802a3a8f8%3A1
- https://lgtm.com/projects/g/HabitRPG/habitrpg/snapshot/dist-98076885-1510577633582/files/website/client/components/selectMembersModal.vue?sort=name&dir=ASC&mode=heatmap&excluded=false#x1fbc2a3d62facd70:1
- https://lgtm.com/projects/g/HabitRPG/habitrpg/snapshot/dist-98076885-1510577633582/files/website/common/script/libs/taskClasses.js?sort=name&dir=ASC&mode=heatmap&excluded=false#x41ce0e121a4defee:1
* Fix online editor whitespace change.
2017-11-27 19:51:25 -06:00