* log armoire, quoest response and cron events to history
* show user history in admin panel
* allow stats to be edited from admin panel
* Improve admin panel stats input
* improve setting client in history
* fix tests
* fix lint
* fix armoire buying issue
* Improve hero saving
* Formatting fix
* Improve user history logging
* allow class to be changed from admin panel
* make terminating subscriptions easier
* support decimal extraMonths
* Fix editing some achievements in admin panel
* log if a user invites party to quest
* Log more quest events into user history
* make userhistory length configurable
* fix some numbered achievements
* fix extraMonths field
* Automatically set up group plan subs with admin panel
* show party info nicer in admin panel
* improve admin panel sub handling
* add missing brace
* display when there are unsaved changes
* fix setting group plan
* fix showing group id
* Display group plan info in admin panel
* fix setting hourglass promo date
* Improve termination handling in admin panel
* reload data after certain save events in admin panel
* remove console
* fix plan.extraMonths not being reset if terminating a sub
* add more options when cancelling subs
* reload data after group plan change
* Add a way to remove users from a party
* fix issue with removing user from party
* pass party id correctly
* correctly call async function
* Improve sub display in admin panel
* fix line length
* fix line
* shorter
* plaid
* fix(lint): vue code style
---------
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
* fix: add neededCurrencyOnly prop
* fix: worked on logic for displaying only gems
* fix: removed gold & hourglasses if neededCurrencyOnly is true
* fix: aligned gem count properly
* fix: updates based on some comments (all comments answered)
* fix: working on displaying only required currency in a new array
* chore: trying to figure out currency logic
* trying to use .find() now
* remove unneeded line of code
* still working on finding/filtering the currency
* trying to move requiredCurrency into a new function (?!)
* fix: added logic to filter for a single currency and fixed CSS
* fix: clean up code
* fix: really clean up code, sheesh
* fix: updated per comments on PR
* fix(style): vertically align elements in your-balance
---------
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
* split component prepare new views / states
* extract empty and disabled state as components
* fix empty state mail icon
* first logic switching between modes, move page to /private-messages/index.vue
* extract autoCompleteHelper.js
* style header + start new message input
* style plus button + focus input
* state logic, types for sanity
* WIP PM new Message started
* add /members/username test
* first design changes to messageCard
* delete private message or chat - based on the mode
* copy as todo
* mention links to modal
* report chat or private message
* WIP likeButton
* likeButton styling
* hide like on private message cards
* fix unit test
* replace copy as todo - to just a copy to clipboard
* style changes
* menu position + like button width
* dropdown items background + like font
* fix like button padding
* move api endpoints and tests around to group inbox methods + like for inbox private messages
* restyle system messages
* Dropdown Radius and Padding
* WIP system messages
* fix lint
* copy delta commit of allowing liking own private messages
* enable liking private messages
* fix menu non hovered item icon color
* fix import path
* ignore background on system messages
* requested changes + migration
* update migration to update the unique id to some messages and delete the duplicates
* migration based on users pagination
* fix(migration): use Promise.all
* change to bulkWrites per User, and all messages in one run (of a user)
* check for array
* use rest operator ...
* skip sorting to get the users
* remove migration, disable like for private messages without uniqueMessageId
* lean+bulkWrite for likes, add time checks for like and auth for further debugging
* add a limit 2 get the messages by uniqueId
* Adding a simple server start script
* remove pinned nodemon dep
* fix inbox controller/tests
* fix / requested style changes
* fix empty state padding /
* hide avatar weapons on messages - fix avatar spacing on messages
* Hourglass Simplification (#15323)
* begin removing obsolete tests
* begin refactoring
* update cron tests
* cleanup
* finish basic implementation of new logic
* add more subscription tests
* subscription test improvements
* return nextHourglassDate again
* fix gem limit
* fix(test): short circuit this.
* fix(admin): correct logic and style for shrimple subs
* WIP(frontend): draft of main subs page view
* fix hourglass count
* Fix hourglass logic for upgrades
* fix admin panel display
* WIP(subs): extant Stripe state
* fix admin panel strings
* fix missing transaction type
* add new field for cumulative subscription count
* show date for hourglass bonus if it was received
* fix test
* feat(subscription): max Gems progress readout
* fix(css): correct and refactor heights and selection states
* fix(subs): correct border-radius and redirect
* fix(stripe): correct redirect after success
* Admin panel display fixes
* don’t give additional HG for new sub if they already got one this month
* fix issue with promo hourglasses
* fix(subscription): update layout when gifting
* fix(subscriptions): more gift layout revisions
* fix(subscriptions): minor visual updates
* fix(subs): pass autoRenews through Stripe
* fix(subs): gifts DON't renew
* fix(lint): unnecessary ternary
* fix(lint): do negate object ig
* fix(subs): try again on gifts
* fix(subs): unhovery and un-12-monthy
* fix bug with incorrectly giving HG bonus
* remove only
* fix test
* fix test
* fix(subs): also redirect to subs after gift sub
* fix(subs): fix typeError
* fix(g1g1): don't try to find Gems promo during bogo
---------
Co-authored-by: Phillip Thelen <phillip@habitica.com>
Co-authored-by: Kalista Payne <sabe@habitica.com>
* chore(sprites): update subproject
* fix(layout): tighten cancellation note
* fix(subs): Google wording and HG escape
* chore(testing): fake g1g1 dates
* fix(subs): don't hide HG preview entirely
* fix(subs): center next hourglass message
* working validatedTextInput.vue within start-new-conversation-input-header.vue 🎉
* fix(git): remove changes from old develop
* Revert "fix(git): remove changes from old develop"
This reverts commit 0e30f7df00.
* fix(git): no actually just this file i guesss
* adding an empty loading state, hiding
* fought the avatar arch nemesis again
* fix chatMessages (party chat) message spacing
* move disabled text back to above the input area - re-enable input area
* show disabled private messages top panel
* fix font color
* fixing uiStates - removing disabled - moving the own user check to the last
* fix(lint): add missing prop defaults
* fix(lint): object default should be fn
* fix(chat): correct grammar in error
* remove weapon position relative
* revert most of avatar.vue changes, add back weapons in chat message UI
* show date tooltip above system / skill messages
* fix toggle disable icon position
* trivial CSS cleanup
* fix(typo): English syntax in test
* chore(test): small style cleanup
* chore(logging): revert debug function
* chore(debug): remove timers from inbox like
---------
Co-authored-by: SabreCat <sabe@habitica.com>
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
Co-authored-by: Phillip Thelen <phillip@habitica.com>
* Use sprite component for armoire sprite
* use gif version of armoire sprite
* fix(import): sprite component path
---------
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
* feat(subscriptions): pre rollout announcement
* fix(faq): more h4 and p, less ul li
* fix(faq): a little less purple
* fix(subs): update change preview date
* select class modal now shows base items, some spacing fixes
* update margin unit
* another smol fix
* two smol CSS updates
* em to rem
* margin update
commit 613e6af7f0dfa3862dff117fadbb7194a29b8dbd
Author: Sabe Jones <sabe@habitica.com>
Date: Tue Sep 3 16:57:02 2024 -0500
feat(promo): add canonical dates for gem sales
commit 8e2fbebf3c663b0d5af5c10f3019726dbed1ca31
Author: Sabe Jones <sabe@habitica.com>
Date: Fri Aug 23 17:08:20 2024 -0500
fix(gems): correct Gem amounts during sale
commit 85853c697ba8eb5e6d0e053e1fe1eab295028f23
Author: Sabe Jones <sabe@habitica.com>
Date: Fri Aug 16 16:57:02 2024 -0500
fix(event): show user timezone to compare to UTC
commit a0a312a315cb2efad0db9370109cb036a8af0b0a
Author: Sabe Jones <sabe@habitica.com>
Date: Fri Aug 16 15:49:08 2024 -0500
refactor(promo): add UTC parenthetical
* Add option to search for users by email or username in admin panel
* Make Admin panel design more consistent
* fix test
* fix width of items
* escape regex for searching users
* load own user when pressing enter on empty field
* add styling for warning buttons
* improve sub styling
* fix checkbox alignment in admin panel
* Unify date preview display
* Fix bottom button display
* admin panel display improvements
* remove autocannon file
* search improvements
* time travel button display fix
* fix loading spinner
* fix sorting
* Split email search into multiple queries
* fix email search
* remove console
* fix line break
* 202409 subscriber gear
* 2024-09 enchanted armoire gear
* 2024 fall festival gear
* 2024-09 background
* 2024-09 pet quest
* typos and update featuredItems.js
* quest and typo fix
* fix subscriber set name
* text amendments
* update quest title
* + Rage
* tinkering
* remove if statement wrapper and modify error message
* add test cases
* more work on test cases
* adding contexts to test cases
* test(debug): fix up tests
* fix(lint): whisepate
---------
Co-authored-by: Sabe Jones <sabe@habitica.com>