Commit Graph

385 Commits

Author SHA1 Message Date
Alec Brickner f33720e9fd Drag challenge tasks (#12204)
* Allow challenge tasks to be draggable by leaders and admins

* Drag challenge tasks, ensure they're ordered

* Ensure group tasks are ordered properly, make draggable

* Add tests, fix broken tests

* Resolve merge conflict

* Remove console.log()

* Address code review comments

* Code review fixes

* Fix lint

* Fix importing

* taskManager

* Lint

* Fix collapseChecklist test

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
2021-04-30 16:23:27 -05:00
Iffat Saiyara 4d7304ab8d created a variable that stores yesterDay's utcoffset (#12860)
passed this variable in shouldDo function call as timezoneUtcoffset
shouldDo takes timezoneUtcoffset into account when running yesterday's dailies, which fixes DST mismatch issues
2021-04-30 15:21:43 -05:00
Sabe Jones 3d7d7e034f Challenge tags can be sorted, Partial fix for #10934 (#13225)
* Fixes #10934, Challenges can be sorted

* revert all buttons to 'Edit Tags'

* change 'role' options and filters to 'membership'

* added membership filtering function to discover challenges

* fix accidental deletion

* Revert "change 'role' options and filters to 'membership'"

This reverts commit b81f9087bb.

* Revert "added membership filtering function to discover challenges"

This reverts commit 4cd5a4cb4e.

* Revert "fix accidental deletion"

This reverts commit 55025cf602.

* fix(challenges): revert incorrect $t token

Co-authored-by: Lizapritchardg <lizap@umich.edu>
2021-04-30 15:13:31 -05:00
Helcostr 92beff46b6 Various Chat Fixes - Fixes #12377 (#13180)
* Various Chat Fixes
* Allow adding `@mention` anywhere (previously was fixed at the end of the text)
* Add re-focus after mouseclick on `@mention` choice
* Remove`@mention` space barrier (since server ingests mentions without spaces in between)

Co-authored-by: Bart Enkelaar <benkelaar@gmail.com>

* Boundry Search + Select shutoff

Co-authored-by: Bart Enkelaar <benkelaar@gmail.com>
2021-04-29 16:06:16 -05:00
Bart Enkelaar 591c9bc98c #12781 Add a unified component for small modals (#12987)
* 12781 - Add common component for small modal windows

* 12781 - Fix drop cap layout and hide footer

* 12781 - Implement drop cap reached and won challenge modals

* 12781 - Couple small fixes

* 12781 - Remove added drop cap modal test convenience

* Less assumptions in small-modal component

* 12781 - Fix already migrated small modals

* Figured out how to properly test Bootstrap modals

* 12781 - Add unit test for success modal

* 12781 - Some more steps towards integrating successModal.vue

* 12781 - Use small modal mixin in success modal

* 12781 - Optimize templating in successModal

* 12781 - Revert AppFooter additions

* 12781 - Add test case and remove unnecessary method
2021-04-29 15:18:58 -05:00
Sabe Jones 5479c76f08 Fixes #12966 pass the group to groupChallenges so the leader only check can be used to display the create challenge button (#13221)
Co-authored-by: SpeedyLom <speedylomuk@gmail.com>
2021-04-29 15:08:53 -05:00
Ilenia fea39e7c9b over-purchase warning for Gryphon eggs now ignore Royal Purple pets a… (#13121)
* over-purchase warning for Gryphon eggs now ignore Royal Purple pets and mounts

* fixed casing with potion name
2021-04-29 14:18:13 -05:00
j-dover f4934abc62 style: Align Hide Locked Backgrounds to center (#13176) 2021-04-28 16:29:13 -05:00
Helcostr 4dc718fbff L10N boss num (#13178)
* Uses browser JS `toLocaleString` to convert numbers to appropriately "marked" numbers
* Add filter for localizeNumber (suggestion from benkelaar)

Co-authored-by: Bart Enkelaar <benkelaar@gmail.com>

Co-authored-by: Bart Enkelaar <benkelaar@gmail.com>
2021-04-28 16:15:40 -05:00
Helcostr 056f4926f5 selList overflow (#13179)
* Limit `membersModal` list selector to 12-unit grid (to prevent wrap around on long text for `sortOptions`)
* Add ellipse based overflow for `membersModal` list selector
* Add padding so that the checkmark for `membersModal` list doesn't overlap with text
* Use scss with v-deep properly (also pretty checkmark to "full-width" of checkmark)
2021-04-28 16:07:07 -05:00
Sabe Jones 7b4b4240cb Merge branch 'release' into develop 2021-04-16 11:13:19 -05:00
Sabe Jones 9c402152e8 feat(event): Shiny Seed and Egg Hunt countdowns 2021-04-08 16:26:32 -05:00
Sabe Jones 23f6e9b911 feat(event): more datetime countdown improvements 2021-04-08 15:43:47 -05:00
Sabe Jones cdaa504db4 feat(event): countdown banners for limited availability items 2021-04-07 12:24:24 -05:00
Sabe Jones 92be66d9ac Merge branch 'release' into develop 2021-03-30 15:20:28 -05:00
Sabe Jones e9c69f93a6 feat(content): seasonal quest achievement 2021-03-29 17:51:33 -05:00
Sabe Jones e35a4b502d Merge branch 'release' into develop 2021-03-25 15:29:54 -05:00
Sabe Jones 24bf1c31d8 fix(onboarding): remove start date restriction 2021-03-25 15:20:55 -05:00
Sabe Jones 48451b7241 Merge branch 'release' into develop 2021-03-23 13:03:54 -05:00
Sabe Jones 676a9348d0 feat(event): March-April goodness 2021-03-23 11:58:21 -05:00
Lilith a503782e29 Removes excessive padding in footer on mobile view - Fixes issue #12631 (#13021) 2021-03-15 20:04:03 +10:00
Bart Enkelaar 81907643d3 12893 - Keep other chat messages right-aligned when avatar doesn't render (#12969)
* 12893 - Keep other chat messages right-aligned when avatar doesn't render

* 12893 - Don't show spacing for system messages
2021-03-14 19:20:28 +10:00
Bart Enkelaar 84d7df3d42 13046 - Fix creating challenge after cloning (#13048) 2021-03-14 18:17:44 +10:00
Sabe Jones d2795f3ac9 fix(stats): bump level cap to 9999 and related corrections 2021-03-11 16:44:34 -06:00
Sabe Jones 96492e5a0e fix(api): correct world, cap level 2021-03-10 15:36:17 -06:00
Sabe Jones ee1f95bb67 feat(content): bundle and cheevo 2021-02-16 17:00:39 -06:00
Sabe Jones 05f6c6816f fix(event): Valentines does not have class outfits 2021-02-09 18:01:12 -06:00
shantanu96 43fc390e28 #12970 Fixed 'String " not found' bug in categories while saving guild descr… (#12989)
* Fixed 'String " not found' bug in categories while saving guild description

* syntax changes
2021-01-25 16:44:52 -06:00
Alys 9d93821758 remove mentiod of Back Corner from Community Guidelines. (#12901)
This includes deleting the Back Corner image.
2021-01-07 17:31:42 +01:00
Óscar Carretero 14e99c6e6c Remove forum link (#12917)
* remove forum link

* remove `communityForum` from locales
2021-01-07 17:30:39 +01:00
Sabe Jones f172670aa4 feat(content): BGs and Armoire Jan 2021 2021-01-04 15:30:39 -06:00
Matteo Pagliazzi 7b0f43b61c fix(stable & bailey); seasonalNpc: use method instead of class, components: use correct method name for npc class 2020-12-17 10:26:06 +01:00
Sabe Jones bf28a46803 feat(event): one more banner 2020-12-16 16:35:03 -06:00
Sabe Jones fa197e1b57 feat(event): add banner shinies 2020-12-15 20:08:33 -06:00
Sabe Jones 4457b081fa fix(messages): adjust for G1G1 banner height 2020-12-15 16:41:33 -06:00
Sabe Jones 395e1c25d4 fix(g1g1): correct blank private message 2020-12-15 16:07:31 -06:00
Matteo Pagliazzi 6d34319455 Stripe: upgrade module and API, switch to Checkout (#12785)
* upgrade stripe module

* switch stripe api to latest version

* fix api version in tests

* start upgrading client and server

* client: switch to redirect

* implement checkout session creation for gems, start implementing webhooks

* stripe: start refactoring one time payments

* working gems and gift payments

* start adding support for subscriptions

* stripe: migrate subscriptions and fix cancelling sub

* allow upgrading group plans

* remove console.log statements

* group plans: upgrade from static page / create new one

* fix #11885, correct group plan modal title

* silence more stripe webhooks

* fix group plans redirects

* implement editing payment method

* start cleaning up code

* fix(stripe): update in-code docs, fix eslint issues

* subscriptions tests

* remove and skip old tests

* skip integration tests

* fix client build

* stripe webhooks: throw error if request fails

* subscriptions: correctly pass groupId

* remove console.log

* stripe: add unit tests for one time payments

* wip: stripe checkout tests

* stripe createCheckoutSession unit tests

* stripe createCheckoutSession unit tests

* stripe createCheckoutSession unit tests (editing card)

* fix existing webhooks tests

* add new webhooks tests

* add more webhooks tests

* fix lint

* stripe integration tests

* better error handling when retrieving customer from stripe

* client: remove unused strings and improve error handling

* payments: limit gift message length (server)

* payments: limit gift message length (client)

* fix redirects when payment is cancelled

* add back "subUpdateCard" string

* fix redirects when editing a sub card, use proper names for products, check subs when gifting
2020-12-14 15:59:17 +01:00
Matteo Pagliazzi 7072fbdd06 fix(client): more resilient autocomplete, possible fix for #11516 2020-12-14 15:58:12 +01:00
Vipul Khandelwal 32d3da9310 Fixed toggle menu button in development mode (#12862) 2020-12-14 11:12:08 +10:00
Vipul Khandelwal 9ebf435c82 Fixed footer layout (#12840)
* Fixed footer layout

* Fixed footer layout using bootstrap responsive typography
2020-12-13 18:39:31 +01:00
Sabe Jones 119502f285 fix(event): address code comments, add banner gradient 2020-12-11 15:59:41 -06:00
Sabe Jones 53f19c4da3 feat(event): Winter Wonderland 2021 and Gift-One-Get-One Promotion 2020-12-10 16:53:37 -06:00
Sabe Jones 25d9102674 Merge branch 'release' into develop 2020-12-08 11:13:25 -06:00
Alys 62498ab646 remove links to Moderator Contact Form
This is a temporary measure until we can get the form working again.

This has NOT been approved by any of Habitica's staff.
It's just being proposed for consideration.

The changes are:

- remove link from Help menu
- replace link in Contacts page with mailto admin@habitica.com without changing the visible text of the link
- replace link in Tavern sidebar with mailto admin@habitica.com using the visible text from the Contacts page
2020-12-07 15:48:45 -06:00
Vipul Khandelwal bc181819f4 Fixed Skill Layout (#12776)
* Fixed Skill Layout

* Fixed skill layout reponsiveness

* Fixed collapsing of drawer container

* Fixed skill card disabled state, extra white border and hover sstate

* Fixed task / member selection style

* Fixed few changes

* Fixed extra padding and box shadow

* Fixed box shadow and added popover component

* Fixed disabled state issue

* Fixed styles and skill card issues

* Fixed style issues

* Fixed style issue

* Fixed lint error

* Fixed space between drawer class

* Fixed border issue

* Fixed round border issue

* Fixed Mage issue

* auto eslint fixes

* use translated string and computed property, reorganize css

* perf: reduce calculated classes, throttle mouse moved event

Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>
2020-12-04 22:05:56 +01:00
negue d3eb9fe230 Apply Dropdown Styles to various parts (#12814)
* membersModal use the new select component instead of html select

* update dropdown styles on challengeDetail (add task) and on inventory unequip

* change the width to "min-width"
2020-11-30 20:01:22 +01:00
Sabe Jones 281d7b4fe2 Merge branch 'release' into develop 2020-11-24 17:57:24 -06:00
Sabe Jones c4f6644c3a feat(content): Red Pet Achievement 2020-11-24 17:53:15 -06:00
Alys 9b76f9831e Miscellaneous lint fixes: move watch & mounted properties; apply automatic fixes (#12791)
* commit lint's automatic fixes

* move watch and mounted properties as advised in lint warnings
2020-11-23 22:14:14 +01:00
Matteo Pagliazzi df1e4af7fc fix(profile): correctly change page title when closing profile modal, fixes #12760, thanks @aevix 2020-11-16 11:30:06 +01:00