* 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
---------
Co-authored-by: SabreCat <sabe@habitica.com>
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
Co-authored-by: Phillip Thelen <phillip@habitica.com>
* begin moving to new fcm library
* Add error handling
* Add opening notification to correct screen
* Fix tests and make async
* lint fix
* Rename pushNotificationstest..js to pushNotifications.test.js
* fix(potions): remove Fungi Potion time banner
* 5.24.3
* update(content): add 2024-06 content prebuild (#15231)
* update sprites
* add 2024-06 content
* add 2024-06 enchanted armoire items
* update sprites
* update sprites
* fix errors found in testing
* Fix liveliness probes being rate limited (#15236)
* Do not rate limit any liveliness probes
* update example config
* Translated using Weblate (German)
Currently translated at 96.2% (181 of 188 strings)
Translated using Weblate (Japanese)
Currently translated at 99.4% (769 of 773 strings)
Translated using Weblate (German)
Currently translated at 93.6% (176 of 188 strings)
Translated using Weblate (Japanese)
Currently translated at 96.2% (2972 of 3089 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (232 of 232 strings)
Translated using Weblate (Japanese)
Currently translated at 96.8% (841 of 868 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (94 of 94 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (113 of 113 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (German)
Currently translated at 86.7% (163 of 188 strings)
Translated using Weblate (German)
Currently translated at 85.1% (160 of 188 strings)
Translated using Weblate (German)
Currently translated at 84.0% (158 of 188 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (94 of 94 strings)
Translated using Weblate (German)
Currently translated at 83.5% (157 of 188 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (113 of 113 strings)
Translated using Weblate (German)
Currently translated at 82.9% (156 of 188 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (113 of 113 strings)
Translated using Weblate (German)
Currently translated at 81.9% (154 of 188 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (113 of 113 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (8 of 8 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (8 of 8 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (188 of 188 strings)
Translated using Weblate (German)
Currently translated at 79.2% (149 of 188 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (189 of 189 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (8 of 8 strings)
Translated using Weblate (German)
Currently translated at 90.6% (2799 of 3089 strings)
Translated using Weblate (German)
Currently translated at 77.6% (146 of 188 strings)
Translated using Weblate (German)
Currently translated at 90.5% (2797 of 3089 strings)
Translated using Weblate (German)
Currently translated at 90.4% (2794 of 3089 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (German)
Currently translated at 90.1% (2786 of 3089 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (188 of 188 strings)
Translated using Weblate (German)
Currently translated at 77.1% (145 of 188 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.7% (763 of 773 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (868 of 868 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (German)
Currently translated at 90.0% (2782 of 3089 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (773 of 773 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (378 of 378 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (868 of 868 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (167 of 167 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (259 of 259 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (259 of 259 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (239 of 239 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (188 of 188 strings)
Translated using Weblate (French)
Currently translated at 100.0% (188 of 188 strings)
Translated using Weblate (German)
Currently translated at 75.0% (141 of 188 strings)
Translated using Weblate (Spanish)
Currently translated at 99.0% (766 of 773 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (189 of 189 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (868 of 868 strings)
Translated using Weblate (Japanese)
Currently translated at 98.8% (764 of 773 strings)
Translated using Weblate (Japanese)
Currently translated at 99.6% (258 of 259 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (378 of 378 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (188 of 188 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (140 of 140 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (Ukrainian)
Currently translated at 62.5% (1931 of 3089 strings)
Translated using Weblate (German)
Currently translated at 89.8% (2777 of 3089 strings)
Translated using Weblate (French)
Currently translated at 100.0% (188 of 188 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.5% (762 of 773 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (868 of 868 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (French)
Currently translated at 82.9% (156 of 188 strings)
Translated using Weblate (German)
Currently translated at 93.0% (241 of 259 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (8 of 8 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (427 of 427 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.5% (762 of 773 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (868 of 868 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (167 of 167 strings)
Translated using Weblate (Japanese)
Currently translated at 99.2% (257 of 259 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.5% (762 of 773 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (868 of 868 strings)
Translated using Weblate (German)
Currently translated at 92.2% (239 of 259 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (286 of 286 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (239 of 239 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (188 of 188 strings)
Translated using Weblate (German)
Currently translated at 91.8% (238 of 259 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.5% (762 of 773 strings)
Translated using Weblate (German)
Currently translated at 90.3% (234 of 259 strings)
Co-authored-by: Finrod <963505255@qq.com>
Co-authored-by: Jaime Martí <jaumemarti77@icloud.com>
Co-authored-by: Kem Kembo <medamamef@gmail.com>
Co-authored-by: Sophie LE MASLE <sophiesuff@gmail.com>
Co-authored-by: TOMA Mitsuru <toma0001@gmail.com>
Co-authored-by: Tetiana <merekka13@gmail.com>
Co-authored-by: Toro Mor <thomas.bizer@gmx.de>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/es/
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/es/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/character/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/character/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/content/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/content/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/de/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/fr/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/de/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/generic/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/inventory/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/limited/es/
Translate-URL: https://translate.habitica.com/projects/habitica/limited/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/limited/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/limited/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/npc/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/overview/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/pets/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/quests/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/es/
Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/settings/de/
Translate-URL: https://translate.habitica.com/projects/habitica/settings/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/settings/uk/
Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/ja/
Translate-URL: https://translate.habitica.com/projects/habitica/tasks/zh_Hans/
Translation: Habitica/Achievements
Translation: Habitica/Backgrounds
Translation: Habitica/Character
Translation: Habitica/Content
Translation: Habitica/Faq
Translation: Habitica/Gear
Translation: Habitica/Generic
Translation: Habitica/Groups
Translation: Habitica/Inventory
Translation: Habitica/Limited
Translation: Habitica/Npc
Translation: Habitica/Overview
Translation: Habitica/Pets
Translation: Habitica/Quests
Translation: Habitica/Questscontent
Translation: Habitica/Settings
Translation: Habitica/Subscriber
Translation: Habitica/Tasks
* 5.25.0
* Fix dockerfile (#15241)
* Fix issue with l4p not resetting properly (#15240)
* actually clear out seeking field on user. Even when creating a party
* Add tests to ensure party.seeking is cleared
* fix(lint): don't assign unused const
---------
Co-authored-by: Sabe Jones <sabe@habitica.com>
---------
Co-authored-by: Sabe Jones <sabe@habitica.com>
Co-authored-by: Natalie <78037386+CuriousMagpie@users.noreply.github.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Finrod <963505255@qq.com>
Co-authored-by: Jaime Martí <jaumemarti77@icloud.com>
Co-authored-by: Kem Kembo <medamamef@gmail.com>
Co-authored-by: Sophie LE MASLE <sophiesuff@gmail.com>
Co-authored-by: TOMA Mitsuru <toma0001@gmail.com>
Co-authored-by: Tetiana <merekka13@gmail.com>
Co-authored-by: Toro Mor <thomas.bizer@gmx.de>
Co-authored-by: Rafał Jagielski <jagielski.rafal.uwm@gmail.com>
* 2024-05 css update
* add May subscriber items, enchanted armoire (text placeholders), potions, and quest bundles
* typo correction
* add May achievement
* content fixes after local testing
* canonical date fix
* fix potion descriptions, add periods to background descriptions
* fix canonical date
* updated armoire items
* fix stat display on item
* Fixing merge conflicts
* resolve merge conflicts
* add leading zero to mp drain for mushroom quest
* fix timezones
* proofreading pass
* fix linting errors
* date fixes & linter fixes
* correct armoire expression at end of file
* fix(autolint): roll back Prettier change
---------
Co-authored-by: Sabe Jones <sabe@habitica.com>
commit d03bdee783deff98ee24cc211f1498525bf36c70
Merge: b31ba9323370f5aa1f55
Author: SabreCat <sabe@habitica.com>
Date: Mon Dec 18 15:47:29 2023 -0600
Merge branch 'release' into sabrecat/group-task-fixes
commit b31ba93233
Author: SabreCat <sabe@habitica.com>
Date: Tue Oct 10 12:02:41 2023 -0500
fix(groups): missing dot path step
Also sync assignments on unassign as well as assign
commit 8012f0294d
Author: SabreCat <sabe@habitica.com>
Date: Tue Oct 10 11:47:59 2023 -0500
fix(groups): use assigned keys as source of truth
commit 616b1e1486
Author: SabreCat <sabe@habitica.com>
Date: Tue Oct 10 11:33:28 2023 -0500
fix(groups): clean up groups to copy tasks
Fixes#14916
* feat(content): October sub items
* feat(content): October bgs and armoire
* feat(content): add Dune Buddy achievement
* feat(releases): timed Backgrounds and Armoire
* feat(content): timed release achievement
* feat(content): November subscriber items
* feat(content): November pet quest bundle
* feat(content): November magic hatching potions
* feat(content): November backgrounds and armoire
* feat(content): new achievement code -- needs work
* update package.lock on local/origin repos
* fix(content): added October headgear info and November set name
* fix(typo): spelling is important
* feat(content): added logic to allow for pets & mounts to be in one achievement and fixed issues with image
* fix(armoire): correct month
* fix(armoire): deprecate armoireEmpty flag
---------
Co-authored-by: SabreCat <sabe@habitica.com>
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
* initial commit
* update logic to display flagged challenges properly to users and admins
* add report button to pages 'My Challenges' and 'Discover Challenges'
* allow mods to view flagged messages on challengeDetail view
* update showing flagged challenges for group challenges
* update showing flagged challenges for a specific challenge
* disallow closing a flagged challenge
* update notes to reflect apiParams properly
* fix css spacing
* update challenge en locales
* fix spacing
* update title of closeChallengeModal
* let user know flagged challenges cannot be cloned
* fix linting errors
* ensure flagged challenges cannot be declared with a winner and cloned via API
* define a non user challenge properly
* fix logic to check for a nonParticipant and nonLeader user when grabbing flagged challenges
* fix linting of max character of 100 / line
* remove reporting on 'my challenges' and 'discover challenges'
* WIP(challenges): disable clone button and add notes to new functions
* WIP(challenges): smol changes
* WIP(challenges): clone button only disabled for admin and flagged user; other users can still clone but the flag goes along with the clone
* WIP(challenges): stop flags carrying over on cloned challenges
* WIP(challenges): typo fixing, undoing a smol change
* fix(challenges): improved query logic for flags
* WIP(challenges): more smol changes
* fix(challenges): refactor queries
* fix(challenges): correct My Challenges tab logic
* WIP(challenges): fix clone button state
* WIP(challenges): really fixed clone button & clear flags from clones
* WIP(challenge): implement new design for reporting modal
* WIP(challenge): making things pretty
* WIP(challenge): conquering the close button
* WIP(challenge): fixin some spacing
* WIP(challenge): smol fix
* WIP(challenge): making sure the button is actually disabled
* WIP(challenge): fix blockquote css
* fix(tests): no private guilds
* fix(lint): curlies etc
* fix(test): moderator permission
* fix(lint): sure man whatever
* fix(lint): bad vim no tabby
* fix(test): permissions not contrib lol
* fix(challenges): add icon and fix leaky CSS
* fix(challenge): correct clone button behavior
---------
Co-authored-by: Julius Jung <me@matchajune.io>
Co-authored-by: SabreCat <sabe@habitica.com>
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
* 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>