* WIP(delete): remove business logic from controller
* fix(deletion): handle group leave logic on app server still
* fix(lint): unused import
* fix(import): bracket syntax
* fix(test): adapt test for worker flow
* fix(deletion): update delete/feedback form copy
* fix(text): don't break to new paragraph about Gems
* fix(deletion): remove orphaned chat messages
* Revert "fix(deletion): handle group leave logic on app server still"
This reverts commit 9db541f4c3.
* fix(tests): remove tests
These can potentially be tested in the worker's suite? They target functionality that the group leave route handles within the deletion flow
* fix(lint): no-undef
* refactor redis setup into own file and use ioredis
* use bullmq directly to schedule jobs
* add space
* add key prefix
* add semicolon
* fix(jobs): update redis package
---------
Co-authored-by: Phillip Thelen <phillip@habitica.com>
* Refactor(tasks): Centralize daily task start date normalization
* fix datepicker server day shifts by zeroing time
---------
Co-authored-by: Hafiz <hafizbhamidi@gmail.com>
* apply email passed via body if it is missing from apple profile
* Add Web UI to set email if apple does not provide one
* fix lint
* remove trailing space
* fix(register): show field if social auth without email
* fix(ux): add explanatory text
* fix(lint): max-len
* fix(data): remove unused field
* fix(auth): pass email around as necessary in Apple flow
* fix(auth): still wrong place argh
* Fix(auth): handle email in Apple registration flow
---------
Co-authored-by: Phillip Thelen <phillip@habitica.com>
Co-authored-by: Hafiz <hafizbhamidi@gmail.com>
* added hasExactMatch function
* changed the handleSubmit logic to check for match
* changed the conditional in class for dropdown
* added hasExactMatch conditional to display the AddTag text
* one more conditional to check if string is empty
* changed styling to display hidden text of "Press Enter to add tag"
* lint error fixed
* fix(tags): don't allow same tag spam within add session
---------
Co-authored-by: Kalista Payne <kalista@habitica.com>
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
* Add group plan selection modal for upgrades
Allow users to select an existing group to upgrade before creating a new one.
* crlf -> lf lint
* set selection of group plan
Also tiny UI fixes
* Update group plan selection to include expired plans
* Add includeExpiredPlans option to group fetching
* force flag when fetching group plans
* Update group plan eligibility check
* Fix eslint error in push notification import
* replace chaining (?.) w/null check
* Remove comment
* set initial selected group plan, and fix card rounding
* format member count
* Show warning for pending party invites when upgrading to paid group plan
Show warning for pending party invites when upgrading to paid group plan. If user upgrades from party to group, remove any pending invites
* suppress error toasts for group modal, and UI tweaks for group modal
suppress error toast for 404 on party fetch for users without a party (for group modal), Increase check SVG size in selectableCard, and show "Previously upgraded" label for parties that were canceled group plans
* Clear upgradingGroup state after group plan payment
* Update emoji system to native Unicode rendering
* Fix line endings in habiticaMarkdown test
* fix indented code block detection for markdown-it v14
* update habitica-markdown to include v3 emoji dataset (pointed towards test branch)
* size emoji in markdown
* emoji autocomplete to chat, messages, tasks, and profile
add :emoji shortcode autocomplete dropdown (reusing existing autocomplete mixin w/new helper)
* try upping github-action fix
* trying another github actions fix
* update habitica-markdown package version (v3.0.0 -> v4.0.0)
* Fix emoji autocomplete overlapping actual text
position dropdown below text
* update group-plans info card styles
* Support Melior emoji autocomplete & more places for emoji autocomplete
Include emoji autocomplete in task checklists, tags, challenge name/summary/description
* position emoji autocomplete dropdown below text area
* fix: replace nested ternary
* Emoji autocomplete fixes
Fix emoji autocomplete overlapping checklist text, and add short name emoji autocomplete
* Have emoji autocomplete dropdown directly below text, add to task tag
* Fix emoji autocomplete starting at beginning/end initially
* lint/line length
* Add group plan selection modal for upgrades
Allow users to select an existing group to upgrade before creating a new one.
* crlf -> lf lint
* set selection of group plan
Also tiny UI fixes
* Update group plan selection to include expired plans
* Add includeExpiredPlans option to group fetching
* force flag when fetching group plans
* Update group plan eligibility check
* Fix eslint error in push notification import
* replace chaining (?.) w/null check
* Remove comment
* set initial selected group plan, and fix card rounding
* format member count
* Show warning for pending party invites when upgrading to paid group plan
Show warning for pending party invites when upgrading to paid group plan. If user upgrades from party to group, remove any pending invites
* suppress error toasts for group modal, and UI tweaks for group modal
suppress error toast for 404 on party fetch for users without a party (for group modal), Increase check SVG size in selectableCard, and show "Previously upgraded" label for parties that were canceled group plans
* Clear upgradingGroup state after group plan payment
* Update emoji system to native Unicode rendering
* Fix line endings in habiticaMarkdown test
* fix indented code block detection for markdown-it v14
* update habitica-markdown to include v3 emoji dataset (pointed towards test branch)
* size emoji in markdown
* emoji autocomplete to chat, messages, tasks, and profile
add :emoji shortcode autocomplete dropdown (reusing existing autocomplete mixin w/new helper)
* try upping github-action fix
* trying another github actions fix
* update habitica-markdown package version (v3.0.0 -> v4.0.0)
* Fix emoji autocomplete overlapping actual text
position dropdown below text
* update group-plans info card styles
* Support Melior emoji autocomplete & more places for emoji autocomplete
Include emoji autocomplete in task checklists, tags, challenge name/summary/description
* position emoji autocomplete dropdown below text area
* fix: replace nested ternary
* Emoji autocomplete fixes
Fix emoji autocomplete overlapping checklist text, and add short name emoji autocomplete
* Have emoji autocomplete dropdown directly below text, add to task tag
* Fix emoji autocomplete starting at beginning/end initially
* lint/line length
* Revert "trying another github actions fix"
This reverts commit 72fc7fc20e.
* Revert "try upping github-action fix"
This reverts commit 70e48a57aa.
* fix(git): revert ci changes
---------
Co-authored-by: Kalista Payne <kalista@habitica.com>
* Add group plan selection modal for upgrades
Allow users to select an existing group to upgrade before creating a new one.
* crlf -> lf lint
* set selection of group plan
Also tiny UI fixes
* Update group plan selection to include expired plans
* Add includeExpiredPlans option to group fetching
* force flag when fetching group plans
* Update group plan eligibility check
* Fix eslint error in push notification import
* replace chaining (?.) w/null check
* Remove comment
* set initial selected group plan, and fix card rounding
* format member count
* Show warning for pending party invites when upgrading to paid group plan
Show warning for pending party invites when upgrading to paid group plan. If user upgrades from party to group, remove any pending invites
* suppress error toasts for group modal, and UI tweaks for group modal
suppress error toast for 404 on party fetch for users without a party (for group modal), Increase check SVG size in selectableCard, and show "Previously upgraded" label for parties that were canceled group plans
* Clear upgradingGroup state after group plan payment
* Add new api call for kubernetes startup probe
* add hostname as tag for loggly
* Only listen to one change
* increase vite min chunk size
* respond gracefully to shutdown signal
* update server readiness according to mongodb and redis connection
* make larger vite chunks
* fix lint
* replace lodash template usage with micromustache
* remove function brackets from translations
* add newline
* remove old test
* split core translations from content translations
* fix directory not existing
* fix lint
* fix most customizations not being pinnable
* set correct pinTypes
* fix(pinning): correct purchase types for base hair and mustaches
* automatically unpin purchased customizations
* ability to pin customization items
* Fix pin not showing on buy modal
* Pin on buy modal tweak
---------
Co-authored-by: Kalista Payne <kalista@habitica.com>
Co-authored-by: Hafiz <hafizbhamidi@gmail.com>
* fix(content): textual tweaks and updates
* fix(link): direct to FAQ instead of wiki
* fix(faq): correct Markdown
* Show orb of rebirth confirmation modal after use (window refresh)
* Set and check rebirth confirmation modal from localstorage
Set and check rebirth confirmation modal from localstorage after window reload
* Don't show orb of rebirth confirmation modal until page reloads
* message effective limit optimization
* Keep max limit for web (400 recent messages)
* Fix amount of messages initially being shown
* PM_PER_PAGE set to 50
* Increases number of messages in inbox test
* Increases number of messages for inbox pagination test
* Set and check rebirth confirmation modal from localstorage
Set and check rebirth confirmation modal from localstorage after window reload
* Don't show orb of rebirth confirmation modal until page reloads
* message effective limit optimization
* Keep max limit for web (400 recent messages)
* Add UUID validation for 'before' query parameter
* add party message stress test tool in admin panel
* lint
* add MAX_PM_COUNT of 400, admin tool for stress testing messages
* comment
* update stress test inbox message tool to use logged in user
* comment
---------
Co-authored-by: Kalista Payne <kalista@habitica.com>
* fix(responsive): adjustments for small screens by @Hafizzle
* Fixed cut off modal issues
- Fixed limited time banner being cut off on smaller devices
- Fixed Pin on purchase quest modal being cut off
* Update order of views on Stats tab
* Update styling of stat boxes & add stat allocation info
* Live stat allocation & auto allocation implemented
- Update stat allocation UI/UX cont.
- Update stats live (versus pressing save)
- Dynamically show the distribute dropdown based on if auto allocate switch is enabled
* Remove duplicate string value, convert line endings
* Fix auto allocation toggle alignment
* lint fixes
* Auto allocate UI fixes
- remove info icon in each dropdown option, and replace info below each option
- disable auto allocate dropdown instead of hiding it
- removed radio buttons drop auto allocate options dropdown
- Points available & auto allocate text share same baseline now
* Stat allocation updates
* Assigned Stat
* lint fixes
* stat feedback UI updates
* tweak
* stat allocation UI tweaks
refactor allocation mode selection with selectList component & other UI tweaks
* Fix hover dropdown padding & stat allocation chip always showing
* Update stat allocation dropdown styling
* Remove bold text on hover
* Stat allocation by task dropdown
* remove empty lines
* show selected attribute on component itself
* task stat selection UI updates
* fix(cr): remove weird line endings
---------
Co-authored-by: Kalista Payne <kalista@habitica.com>
* Set and check rebirth confirmation modal from localstorage
Set and check rebirth confirmation modal from localstorage after window reload
* Don't show orb of rebirth confirmation modal until page reloads
* Confirmation prompts (replace browser confirmation prompts)
* lint
* lint
* Fix confirmation modal not showing for items w/gems
* Updated delete and confirmation modals
* lint
* Fix top bar on color on confirmation prompt clipping
* Show currency amount on purchase confirmation modals
* confirmation modals using existing components
* lint
* Broken task confirmation modal
* Replace class change confirmation with modal
* fix(style): correct indentation
* Replace warning svg w/ existing alert svg, and reset language strings
* fix(json): json doesn't like comma dangles
---------
Co-authored-by: Kalista Payne <kalista@habitica.com>
Co-authored-by: Kalista Payne <sabrecat@gmail.com>
* fix(content): textual tweaks and updates
* fix(link): direct to FAQ instead of wiki
* fix(faq): correct Markdown
* Show orb of rebirth confirmation modal after use (window refresh)
* Set and check rebirth confirmation modal from localstorage
Set and check rebirth confirmation modal from localstorage after window reload
* Don't show orb of rebirth confirmation modal until page reloads
* message effective limit optimization
* Keep max limit for web (400 recent messages)
* Fix amount of messages initially being shown
* PM_PER_PAGE set to 50
* Increases number of messages in inbox test
* Increases number of messages for inbox pagination test
* Set and check rebirth confirmation modal from localstorage
Set and check rebirth confirmation modal from localstorage after window reload
* Don't show orb of rebirth confirmation modal until page reloads
* message effective limit optimization
* Keep max limit for web (400 recent messages)
* Add UUID validation for 'before' query parameter
* add party message stress test tool in admin panel
* lint
* add MAX_PM_COUNT of 400, admin tool for stress testing messages
* comment
* update stress test inbox message tool to use logged in user
* comment
---------
Co-authored-by: Kalista Payne <kalista@habitica.com>