Phillip Thelen
f8d315ff6e
Upgrade to mongoose 7 ( #14971 )
...
* remove some unused dependencies
* update mongoose version
* make common tests pass
* Make unit tests pass
* make api v3 integration tests pass
* fix lint issues
* fix issue with package-lock
* fix(lint): we don't need no .js
* fix(lint): update to latest config-habitrpg
* chore(npm): update package locks
* fix(test): replace deprecated fn
* chore(package): update eslint-habitrpg again
* fix(lint): server linting
* fix(lint): client linting
* fix(client): correct mangled common imports
* chore(npm): update package-locks
* fix(lint): punctuation, module
---------
Co-authored-by: SabreCat <sabrecat@gmail.com >
Co-authored-by: SabreCat <sabe@habitica.com >
2024-01-16 15:18:47 -06:00
Natalie
4cbc3d7664
Slur swear blocker challenges redux ( #15089 )
...
* update packages on local/origin repo
* feat(challenges): add banned words & slur blocker to challenges
* feat(challenges): slur blocker work
* feat(challenges): slur blocker
* feat(challenges): more slur blocker
* feat(challenges): even more slur blocker
* feat(challenges): swear and slur blocker
* feat(challenges): update behavior based on public/private groups
* feat(profiles): slur/swear blocker
* feat(profiles): slur/swear blocker
* feat(profiles/PMs): slur/swear blocker upgrade
* feat(slur/swear): working on it
* feat(profiles/challenges): work on profile block & slack report
* feat(slur/swear blocker): work on Profiles
* feat(slur blocker): refactoring code
* feat(slur blocker): more refactoring
* feat(slur blocker): arghhhhhh
* fix(profiles): improve profanity check logic
* fix(slack): update Slack notification to include authorEmail and remove undefined
* feat(s/s blocker): work on challenges
* feat(s/s blocker): challenge update
* feat(s/s blocker): slack notifs refinements
* feat(s/s blocker): refine slack notifs & disallow use of challenges POST API route if user is chatRevoked:true in db
* update package.json and package-lock.json
* attempt to disable create challenge button for muted users
* another attempt to disable create challenge
* block muted users from creating challenges
* CSS button fun
* fix CSS button
* refactor(css): move button style to global
Also, disable Clone button if user is chat revoked
* fix(lint): remove unused fn
* fix(challenges): handle null slur check
* fix(groups): throw notFound earlier
* fix(challenges): CSS and logic updates
* fix(lint): remove whitespace
* fix(challenges): don't disable create buttons
* fix(slack): restore broken profile flag fields
* chore(cleanup): remove comments and whitespace
* chore(cleanup): one more white space
---------
Co-authored-by: SabreCat <sabe@habitica.com >
2024-01-16 14:22:03 -06:00
Sabe Jones
b7def686e9
Squashed commit of the following:
...
commit 83bcd07e20
Author: SabreCat <sabrecat@gmail.com >
Date: Fri Dec 22 17:24:45 2023 -0600
fix(profile): revert state on error
commit 6aa6278727
Author: SabreCat <sabrecat@gmail.com >
Date: Fri Dec 22 14:37:28 2023 -0600
fix(test): no longer care about swears in profile
commit 0882c77038
Author: SabreCat <sabe@habitica.com >
Date: Fri Dec 22 14:15:42 2023 -0600
fix(lint): remove unused functions
commit 9b275ef72d
Author: SabreCat <sabe@habitica.com >
Date: Fri Dec 22 14:09:11 2023 -0600
fix(profiles): restore reporting functionality
Also remove unused and/or unrelated code and clean up comments
commit f4ed8c1461
Merge: da16aa9c75 f8ba191eea
Author: SabreCat <sabe@habitica.com >
Date: Fri Dec 22 12:11:00 2023 -0600
Merge branch 'release' into slur-swear-blocker
commit da16aa9c75
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Dec 21 13:20:28 2023 -0500
feat(s/s blocker): challenge updates to slack
commit 51bed61c4c
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Dec 19 15:36:59 2023 -0500
feat(s/s blocker): work on challenges
commit 139cbcb21c
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Dec 13 13:20:45 2023 -0500
fix(slack): update Slack notification to include authorEmail and remove undefined
commit 805b287721
Author: SabreCat <sabe@habitica.com >
Date: Tue Dec 12 16:35:54 2023 -0600
fix(profiles): improve profanity check logic
commit 02ef7e8822
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Dec 12 17:22:29 2023 -0500
feat(slur blocker): arghhhhhh
commit 949dee9b1e
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Dec 12 13:57:29 2023 -0500
feat(slur blocker): more refactoring
commit bf953998f4
Merge: d21aa687b7 f572aa442e
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Dec 11 15:20:06 2023 -0500
Merge branch 'release' into slur-swear-blocker
commit d21aa687b7
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Dec 7 18:00:29 2023 -0500
feat(slur blocker): refactoring code
commit f2db90c494
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Dec 6 12:12:55 2023 -0500
feat(slur/swear blocker): work on Profiles
commit 8f9822ffe8
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Dec 4 17:25:17 2023 -0500
feat(profiles/challenges): work on profile block & slack report
commit bdb2e06e5e
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Dec 1 16:11:27 2023 -0500
feat(slur/swear): working on it
commit 7277b5cad5
Merge: 24d14277ab 941f1f976c
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Dec 1 15:04:46 2023 -0500
Merge branch 'profile-slur-swear-blocker' into slur-swear-blocker
commit 941f1f976c
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Nov 30 14:34:30 2023 -0500
feat(profiles/PMs): slur/swear blocker upgrade
commit 0863017efc
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Nov 28 16:21:21 2023 -0500
feat(profiles): slur/swear blocker
commit e9937d864f
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Nov 27 15:24:37 2023 -0500
feat(profiles): slur/swear blocker
commit 24d14277ab
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Nov 27 14:12:46 2023 -0500
feat(challenges): update behavior based on public/private groups
commit 1251f5b6a7
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Nov 14 16:28:29 2023 -0500
feat(challenges): swear and slur blocker
commit a771045ca7
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Nov 14 15:46:16 2023 -0500
feat(challenges): even more slur blocker
commit e5e91aa78a
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Nov 14 14:31:25 2023 -0500
feat(challenges): more slur blocker
commit 50e824e4e3
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Nov 13 15:12:14 2023 -0500
feat(challenges): slur blocker
commit 315ea24ef4
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Nov 3 12:31:12 2023 -0400
feat(challenges): slur blocker work
commit 0f742d219f
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Nov 2 16:22:31 2023 -0400
feat(challenges): add banned words & slur blocker to challenges
commit 40d6b60ee3
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Oct 23 13:00:46 2023 -0400
update packages on local/origin repo
2024-01-10 15:14:11 -06:00
SabreCat
0dbd597d0b
Squashed commit of the following:
...
commit d03bdee783deff98ee24cc211f1498525bf36c70
Merge: b31ba93233 70f5aa1f55
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
2023-12-18 15:50:58 -06:00
Phillip Thelen
1892d6288a
Clean up translations ( #14985 )
2023-11-03 15:54:48 -05:00
Natalie
581271e930
Reporting challenges ( #14756 )
...
* 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 >
2023-10-24 09:24:56 -05:00
SabreCat
3c73322980
fix(tests): one more
2023-10-03 16:19:50 -05:00
SabreCat
fbb9b2c65a
fix(tests): post merge cleanup
2023-10-03 15:58:31 -05:00
SabreCat
a9757b2d74
Squashed commit of the following:
...
commit 3aba0abedd
Author: SabreCat <sabe@habitica.com >
Date: Mon Oct 2 20:51:20 2023 -0500
fix(router): use state to pass modal launch info
commit 541eadd319
Merge: c0bb56c8c2 89fff49d02
Author: SabreCat <sabe@habitica.com >
Date: Mon Oct 2 20:12:40 2023 -0500
Merge branch 'release' into report-profile-modal
commit c0bb56c8c2
Author: SabreCat <sabe@habitica.com >
Date: Wed Sep 27 16:15:28 2023 -0500
test(profiles): add integrations
commit 9b644e9ad8
Author: SabreCat <sabe@habitica.com >
Date: Tue Sep 26 17:17:22 2023 -0500
fix(profile): adjust margin
commit bfefe5dfa9
Author: SabreCat <sabe@habitica.com >
Date: Tue Sep 26 17:12:24 2023 -0500
fix(profiles): moar layout fixes
commit 8f211ee3e2
Author: SabreCat <sabe@habitica.com >
Date: Mon Sep 25 17:32:04 2023 -0500
fix(profile): fix admin actions
Correct "user is banned" banner
Fix bouncing modal
Add "Days" smart plural
Fix leaky CSS on Market page
Refactor some redundant functions
commit b1d23ec88b
Merge: ee9709a9e1 a63cc84779
Author: SabreCat <sabe@habitica.com >
Date: Mon Sep 25 15:37:54 2023 -0500
Merge branch 'release' into report-profile-modal
commit ee9709a9e1
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Sep 18 16:30:30 2023 -0400
WIP(profile): add banned banner, toggle switches now toggle, add "days" to Next Login Reward
commit f80928a895
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Sep 18 13:43:34 2023 -0400
update(node): update node modules
commit 1d552f7e80
Author: SabreCat <sabe@habitica.com >
Date: Fri Sep 15 16:52:22 2023 -0500
fix(import): remove empty import
commit f55d74a95d
Author: SabreCat <sabe@habitica.com >
Date: Fri Sep 15 16:39:50 2023 -0500
refactor(profiles): remove email feature
also still more visual cleanup of profile modal
commit 311c743284
Author: SabreCat <sabe@habitica.com >
Date: Fri Sep 15 15:44:56 2023 -0500
refactor(profile): remove page view
commit f8632bf50d
Merge: ec85159c65 9e25360102
Author: SabreCat <sabe@habitica.com >
Date: Fri Sep 15 15:23:21 2023 -0500
Merge branch 'release' into report-profile-modal
commit ec85159c65
Author: SabreCat <sabe@habitica.com >
Date: Mon Sep 11 22:53:14 2023 -0500
feat(profiles): load modal instead of page?
commit 9986082914
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Sep 8 14:49:57 2023 -0400
WIP(profile): fixed a comment, woohoo
commit 6262a9ba0c
Merge: ae2b614df2 ea2b007b1a
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Sep 8 13:40:23 2023 -0400
Merge remote-tracking branch 'origin/report-profile-modal' into report-profile-modal
commit ea2b007b1a
Author: SabreCat <sabe@habitica.com >
Date: Thu Sep 7 16:54:19 2023 -0500
fix(profile): focus behavior
commit ae2b614df2
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Sep 7 17:47:08 2023 -0400
WIP(profile): styling updates
commit 2e0723f1b9
Author: SabreCat <sabe@habitica.com >
Date: Thu Sep 7 15:37:59 2023 -0500
feat(moderation): unflag profile
Also a few stylistic tweaks
commit edcf8113de
Author: SabreCat <sabe@habitica.com >
Date: Wed Sep 6 16:39:02 2023 -0500
WIP(profile): dropdown draft
commit 0691483d63
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Sep 6 16:33:30 2023 -0400
WIP(profile): Styling and string updates
commit 7e9d57d10a
Author: SabreCat <sabe@habitica.com >
Date: Wed Sep 6 11:40:31 2023 -0500
feat(profile): functional dropdown buttons
commit a2989b2833
Merge: af6575e40c e072d7c09c
Author: SabreCat <sabe@habitica.com >
Date: Wed Sep 6 10:04:57 2023 -0500
Merge branch 'release' into report-profile-modal
commit af6575e40c
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Sep 6 11:01:05 2023 -0400
WIP(profile): comment cleanup
commit 7b1de37202
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Sep 5 17:22:14 2023 -0400
WIP(profile): remove shadowban tooltip
commit d1177c32b9
Merge: 321a01b081 31f821021b
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Sep 5 17:02:40 2023 -0400
Merge branch 'sabrecat/report-profile' into report-profile-modal
commit 321a01b081
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Sep 1 16:14:36 2023 -0400
WIP(profile): close button finally workinating
commit e143d36d28
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Sep 1 15:52:38 2023 -0400
WIP(profile): close icon moved to profile.vue
commit 31f821021b
Merge: a8f5e25d38 8957c5c009
Author: SabreCat <sabe@habitica.com >
Date: Fri Sep 1 14:52:31 2023 -0500
Merge branch 'report-profile-modal' into sabrecat/report-profile
commit 8957c5c009
Merge: d340f06a22 0aec3866a4
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Sep 1 15:38:12 2023 -0400
Merge remote-tracking branch 'origin/report-profile-modal' into report-profile-modal
commit d340f06a22
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Sep 1 15:37:57 2023 -0400
WIP(profile): fixed user not found error
commit 0aec3866a4
Merge: b01f323b14 ac7c8e0eb6
Author: Natalie <78037386+CuriousMagpie@users.noreply.github.com >
Date: Fri Sep 1 15:28:58 2023 -0400
Merge branch 'HabitRPG:develop' into report-profile-modal
commit a8f5e25d38
Author: SabreCat <sabe@habitica.com >
Date: Thu Aug 31 17:02:07 2023 -0500
feat(community): basic "report profile"
commit b01f323b14
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Aug 31 17:42:12 2023 -0400
WIP(profile): removed refactoring crud, located where close icon should be (profileModal.vue)
commit ce7d51a20c
Merge: 010f2299f0 ac7c8e0eb6
Author: SabreCat <sabe@habitica.com >
Date: Thu Aug 31 14:20:37 2023 -0500
Merge branch 'release' into sabrecat/report-profile
commit 18b41acd94
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Aug 31 12:23:41 2023 -0400
WIP(profile): moar buttonz
commit 9387b3a6bc
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 30 17:21:36 2023 -0400
WIP(profile): buttons
commit b3ea48c4f5
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Aug 25 15:52:41 2023 -0400
WIP(profile): work on achievement component
commit a1ceb2ea75
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Aug 25 14:39:12 2023 -0400
WIP(profile): create achievements component
commit 4a24d9b80b
Merge: 8fe263a377 1e05297e96
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 23 13:14:39 2023 -0400
Merge branch 'develop' into report-profile-modal
commit 1e05297e96
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 23 13:12:52 2023 -0400
package updates
commit 8fe263a377
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 23 12:12:36 2023 -0400
update(dependencies): ran npm install to update dependencies
commit 190fe048a1
Merge: 3ea48ab5cb fa83d1a9cf
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 23 11:52:08 2023 -0400
Merge branch 'develop' into report-profile-modal
commit 3ea48ab5cb
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Aug 11 17:12:31 2023 -0400
WIP(user profile): dropdown menu and toggles and colors oh my
commit c301a2b460
Merge: 1da6af11b5 647b27c55f
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Aug 11 12:40:07 2023 -0400
Merge branch 'develop' into report-profile-modal
commit 1da6af11b5
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Aug 10 16:50:07 2023 -0400
WIP(user profile): moved some CSS classes out of unscoped and into the scoped section, started on toggle buttons
commit dd55cbc928
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 9 15:38:46 2023 -0400
WIP(user profile): workin on the hamburger (kebab?) menu
commit 3834093207
Author: CuriousMagpie <eilatan@gmail.com >
Date: Tue Aug 8 14:14:40 2023 -0400
WIP(user profiles): working on the drop down menu
commit f2be588195
Author: CuriousMagpie <eilatan@gmail.com >
Date: Mon Aug 7 16:10:30 2023 -0400
WIP(user profile): options menu
commit 010f2299f0
Author: SabreCat <sabe@habitica.com >
Date: Mon Aug 7 11:49:04 2023 -0500
fix(lint): eof and const
commit 4551dbf4b3
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Aug 4 15:34:05 2023 -0400
WIP(user profile): styling the top portion of the modal
commit 19a9fe3644
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Aug 3 15:06:51 2023 -0400
WIP(user profile): adding buttons
commit dfdb305b1c
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 2 14:41:20 2023 -0400
WIP(user profile): layout
commit ded4eee693
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Aug 2 12:04:02 2023 -0400
WIP(user profile): start flex grid & tidy up CSS
commit aaca48be32
Author: CuriousMagpie <eilatan@gmail.com >
Date: Fri Jul 28 16:44:06 2023 -0400
WIP(user profile): mostly css updates
commit e531985b87
Author: CuriousMagpie <eilatan@gmail.com >
Date: Thu Jul 27 16:49:44 2023 -0400
WIP(user profile): one infinitesimal change that's hardly worth the electricity it's made from
commit eb4021fcc7
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Jul 26 16:33:05 2023 -0400
feat(content): upgrade profile page
commit 1b25394f3e
Merge: c50cee0d88 8558dcc3a8
Author: CuriousMagpie <eilatan@gmail.com >
Date: Wed Jul 26 11:50:12 2023 -0400
Merge branch 'develop' into report-profile-modal
commit c50cee0d88
Author: SabreCat <sabe@habitica.com >
Date: Wed Jul 12 16:32:25 2023 -0500
fix(flagging): debug params issue
Also add and document the "source" body param
commit 55848c58be
Author: SabreCat <sabe@habitica.com >
Date: Mon Jul 10 16:24:20 2023 -0500
WIP(members): basic report a user API
commit dda6180792
Author: SabreCat <sabe@habitica.com >
Date: Thu Jul 6 10:05:07 2023 -0500
fix(lint): remove console.info
2023-10-03 13:29:26 -05:00
SabreCat
c71f0b3fda
Squashed commit of the following:
...
commit 6d74f87db332fd28c7522cabc0f96a390d36e64f
Author: SabreCat <sabe@habitica.com >
Date: Fri Aug 18 20:04:52 2023 -0500
fix(i18n): default to EN for empties
2023-08-22 12:23:02 -05:00
SabreCat
ebd0cb72de
fix(challenges): better screening
2023-08-07 22:26:56 -05:00
SabreCat
c44b1670cf
fix(challenges): revert to working
2023-08-07 22:00:47 -05:00
SabreCat
39477c6f11
fix(lint): or/and, import
2023-08-07 21:33:31 -05:00
SabreCat
9fa355fbcc
fix(sunset): release candidate
2023-08-07 15:04:44 -05:00
SabreCat
cbaa3180cc
Merge branch 'develop' into sabrecat/unsociable
2023-07-25 15:17:13 -05:00
Sabe Jones
683649ff1a
Don't collapse different spell targets in party chat ( #14775 )
...
* fix(spells): don't collapse different targets
* fix(lint): indentation
---------
Co-authored-by: SabreCat <sabe@habitica.com >
2023-07-25 14:15:12 -05:00
SabreCat
067a1de49e
fix(lint): newlines, console
2023-07-18 10:20:58 -05:00
SabreCat
259f7ef588
fix(chat): add default to switch block
2023-07-11 18:25:59 -05:00
SabreCat
106a0c9ed8
fix(chat): collapse repetitive spells for real now
2023-07-11 17:01:17 -05:00
Phillip Thelen
74ba5c0b27
bring merging to MVP
2023-07-11 15:10:50 +02:00
SabreCat
bb54a6532d
fix(chat): correct bad length check
2023-07-10 15:37:46 -05:00
SabreCat
3c36c59bb3
Merge branch 'develop' into phillip/chat-skill-merge
2023-07-10 15:12:12 -05:00
SabreCat
2308961de6
fix(lint): address fatal errors
2023-07-10 15:11:22 -05:00
Phillip Thelen
2d71a902f1
Merge skill casting messages together
2023-07-10 16:27:31 +02:00
SabreCat
f4e8bf9c2e
feat(form): Ask a Question mode on bug report
2023-06-02 15:58:24 -05:00
Phillip Thelen
d4a5823916
Fix one-off issue for monthly subs ( #14643 )
...
* Fix initial plan.consecutive.offset for 1 month subs
* fix initial values for group plan subs
* Make perkMonthCount editable in admin panel
* Add aditional info to admin panel
* Implement automatic fix for affected users
* fix(lint): exclusive test, code style
* fixes
* fix issue with initialization
---------
Co-authored-by: SabreCat <sabe@habitica.com >
2023-05-24 13:29:42 -05:00
SabreCat
deebc09a79
fix(analytics): typo
2023-05-22 09:54:10 -05:00
SabreCat
b63f2fa1fa
fix(analytics): add missing headers to 3 events
2023-05-19 14:54:30 -05:00
Phillip Thelen
8150fef993
Database Access optimisations ( #14544 )
...
* 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 >
2023-05-16 12:21:45 -05:00
SabreCat
e9e4265545
Squashed commit of the following:
...
commit 00affb306655a543f5d29b3af6361e686b577a97
Author: SabreCat <sabe@habitica.com >
Date: Tue May 2 09:47:25 2023 -0500
fix(tests): account for invite limit changes
commit 47661117f9fd661b8bc8f63b7cc7c8d5f8fa0fd7
Author: SabreCat <sabe@habitica.com >
Date: Mon May 1 17:39:29 2023 -0500
fix(lfp): final polish
commit 6a1e5af1db0dd90be3ced7e223f53c9183a206f5
Merge: 728ed2ddad 9e0777bb42
Author: SabreCat <sabe@habitica.com >
Date: Mon May 1 16:54:12 2023 -0500
Merge branch 'release' into sabrecat/party-seeking
commit 728ed2ddad7f0962d28f1ab0a271e3555b19296c
Author: SabreCat <sabe@habitica.com >
Date: Thu Apr 27 16:51:06 2023 -0500
fix(lfp): loading layout and page visit event
commit 8a56ab329bff922e05963e3ef78fbc26ff273924
Author: SabreCat <sabe@habitica.com >
Date: Wed Apr 26 16:54:46 2023 -0500
fix(faq): copy and style updates
commit 6fd00d7f30150a1802e5a37edbb914ef120caf9a
Author: SabreCat <sabe@habitica.com >
Date: Fri Apr 21 17:12:52 2023 -0500
feat(lfp): fixes, analytics, FAQ
commit 4b5d7304ad7cfc5f72320b23456ed2898e53caac
Author: SabreCat <sabe@habitica.com >
Date: Mon Apr 17 15:13:03 2023 -0500
fix(lfp): smol tweaks
commit 9a5476a2558eb17a603f4aae1b5b2d35773be8b4
Author: SabreCat <sabe@habitica.com >
Date: Thu Apr 13 16:03:33 2023 -0500
feat(lfp): refresh button
commit aa58f5018469f38a9a9d31c3bffa26bb88a8c672
Merge: bbb03d006e c8adf20804
Author: SabreCat <sabe@habitica.com >
Date: Tue Apr 11 17:44:56 2023 -0500
Merge branch 'release' into sabrecat/party-seeking
commit bbb03d006e8b122bb7206bdc778a31de422167bb
Author: SabreCat <sabe@habitica.com >
Date: Tue Apr 4 18:30:50 2023 -0500
fix(lint): whitespace and const
commit 23683ad29a4cce0b0da061ad6c030982034c0a9c
Author: SabreCat <sabe@habitica.com >
Date: Tue Apr 4 17:02:57 2023 -0500
chore(LFP): add analytics
also re-fix loading state
commit 4477d84f5266c87f5583368029b72153f00f0568
Author: SabreCat <sabe@habitica.com >
Date: Mon Apr 3 16:24:26 2023 -0500
fix(LFP): address issues with loading
commit bdc5154f24bb5e50963376c3c0c9cc73c0b05ccc
Merge: 81923eef6f 229ed46425
Author: SabreCat <sabe@habitica.com >
Date: Mon Apr 3 15:58:12 2023 -0500
Merge branch 'release' into sabrecat/party-seeking
commit 81923eef6f0c627d079475a28f9d93d8e4628934
Author: SabreCat <sabe@habitica.com >
Date: Thu Mar 30 16:44:49 2023 -0500
feat(LFP): release candidate
commit fe1f8939fc6b09d36cfaf0b6e5838df04e41009d
Author: SabreCat <sabe@habitica.com >
Date: Wed Mar 29 17:35:54 2023 -0500
WIP(LFP): fixes
commit afc361f5a9f806cbd814ad910d1274e3a6609efd
Merge: d6b5cbdebc 7ede3acd01
Author: SabreCat <sabe@habitica.com >
Date: Wed Mar 29 16:24:39 2023 -0500
Merge branch 'release' into sabrecat/party-seeking
commit d6b5cbdebc2829e9325ea57fb5deeccc128c1635
Author: SabreCat <sabe@habitica.com >
Date: Tue Mar 28 16:13:18 2023 -0500
WIP(LFP): change copy, add close X, fix API response
commit 4274a4625862351ef0ecf33c8a3249ca5ebec7cb
Author: SabreCat <sabe@habitica.com >
Date: Mon Mar 27 17:07:36 2023 -0500
fix(LFP): layout, unset when stopping
commit 95abfcfa5f13c9cce6385206947a47f85b76d11d
Merge: 4a360eedd8 53c536b525
Author: SabreCat <sabe@habitica.com >
Date: Mon Mar 27 16:32:46 2023 -0500
Merge branch 'release' into sabrecat/party-seeking
commit 4a360eedd8b9cf41d3a0fe7a4cfaa72c5bd7bd26
Author: SabreCat <sabe@habitica.com >
Date: Thu Mar 23 16:54:49 2023 -0500
feat(LFP): completed style and infinite scroll
commit bbc439d9d03c9631a450236eb33af66f0428fa50
Author: SabreCat <sabe@habitica.com >
Date: Tue Mar 21 10:40:26 2023 -0500
WIP(LFP): nicer layout, buffs fix
commit 1658688597456663477ab19da61ae1b9bc85cf2a
Merge: 664507434f 027e61a93e
Author: SabreCat <sabe@habitica.com >
Date: Tue Mar 21 09:29:02 2023 -0500
Merge branch 'release' into sabrecat/party-seeking
commit 664507434f2f76e6bf3b61cdc9e3daddb81204af
Author: SabreCat <sabe@habitica.com >
Date: Fri Mar 17 17:13:08 2023 -0500
WIP(LFP): API and client adjustments
commit 2f0b6f2517f9e2d634cb23ee303cfb4542e998ce
Merge: 0db1704325 a16098ccda
Author: SabreCat <sabe@habitica.com >
Date: Fri Mar 17 16:45:13 2023 -0500
Merge branch 'release' into sabrecat/party-seeking
commit 0db1704325c3555f0b5d9c8d1dfc44177e90c093
Author: SabreCat <sabe@habitica.com >
Date: Mon Mar 13 14:48:10 2023 -0500
fix(modal): scrollbar for squashed viewports
commit 733c35192e0a4e31e1bebfdd7488cfc1f7587f36
Author: SabreCat <sabe@habitica.com >
Date: Thu Mar 9 12:51:02 2023 -0600
WIP(party): seekers functional rough
commit d4b854410b557db26eec6e6a26b6d174c02cee3a
Merge: 7fe919825a 0b6b967753
Author: SabreCat <sabe@habitica.com >
Date: Thu Mar 9 10:07:28 2023 -0600
Merge branch 'release' into sabrecat/party-seeking
commit 7fe919825abfb6d518cb93b91f5997d3831bd0b5
Author: SabreCat <sabe@habitica.com >
Date: Thu Mar 2 14:40:09 2023 -0600
feat(party): several adjustments to seeking feature
commit c93900efcf925f7aaa4c4cb56b4451f19adfb1b3
Author: SabreCat <sabe@habitica.com >
Date: Wed Mar 1 20:37:11 2023 -0600
feat(party): initial Seeking API
commit 8bb784daeceb14c23992a6f3af1054a900fc26c1
Merge: e19a661a21 f327795761
Author: SabreCat <sabe@habitica.com >
Date: Wed Mar 1 18:58:20 2023 -0600
Merge branch 'release' into sabrecat/party-seeking
commit e19a661a2163a50307a286379bffb44201ed392e
Author: SabreCat <sabe@habitica.com >
Date: Fri Feb 24 15:51:42 2023 -0600
WIP(parties): add seeking flag and modal toggle
2023-05-02 09:51:33 -05:00
Phillip Thelen
d2d4af227b
Fix an issue with gifting subs ( #14550 )
...
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (405 of 405 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2781 of 2781 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (135 of 135 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (217 of 217 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (56 of 56 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (13 of 13 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (112 of 112 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (405 of 405 strings)
Translated using Weblate (Portuguese)
Currently translated at 81.7% (331 of 405 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (214 of 214 strings)
Translated using Weblate (Portuguese)
Currently translated at 62.5% (5 of 8 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (61 of 61 strings)
Translated using Weblate (Portuguese)
Currently translated at 63.8% (1777 of 2781 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (182 of 182 strings)
Translated using Weblate (Portuguese)
Currently translated at 71.6% (43 of 60 strings)
Translated using Weblate (Portuguese)
Currently translated at 79.7% (609 of 764 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (375 of 375 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (47 of 47 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (770 of 770 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (146 of 146 strings)
Translated using Weblate (German)
Currently translated at 100.0% (404 of 404 strings)
Translated using Weblate (German)
Currently translated at 79.5% (97 of 122 strings)
Translated using Weblate (German)
Currently translated at 97.7% (753 of 770 strings)
Translated using Weblate (German)
Currently translated at 100.0% (146 of 146 strings)
Translated using Weblate (Portuguese)
Currently translated at 77.0% (94 of 122 strings)
Translated using Weblate (Indonesian)
Currently translated at 76.7% (310 of 404 strings)
Translated using Weblate (Portuguese)
Currently translated at 76.2% (93 of 122 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 85.6% (2381 of 2781 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (60 of 60 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (217 of 217 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (112 of 112 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (267 of 267 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (404 of 404 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (182 of 182 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 95.8% (732 of 764 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (122 of 122 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (375 of 375 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (770 of 770 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (146 of 146 strings)
Translated using Weblate (Portuguese)
Currently translated at 74.5% (91 of 122 strings)
Translated using Weblate (Portuguese)
Currently translated at 72.1% (88 of 122 strings)
Co-authored-by: Ana Beatriz <anabeatriz.augusto06@yahoo.com >
Co-authored-by: Andressa Murari Sudré <andressa@sudre.com.br >
Co-authored-by: Cachinhos <cachnhos@gmail.com >
Co-authored-by: Falzart Werefox <muh_fauzi_ramadhan@yahoo.co.id >
Co-authored-by: Jay <fallacyofwildlifeconservation@gmail.com >
Co-authored-by: Jerry Chen <minecjraft@qq.com >
Co-authored-by: Weblate <noreply@weblate.org >
Co-authored-by: Yu-Wei Tien <a38498987911@gmail.com >
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/de/
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/de/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/de/
Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/content/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/content/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/contrib/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/front/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/front/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/generic/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/de/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/id/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/pt_BR/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/limited/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/messages/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/npc/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/overview/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/pets/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/pets/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/rebirth/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/spells/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/pt_BR/
Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/tasks/pt/
Translation: Habitica/Achievements
Translation: Habitica/Backgrounds
Translation: Habitica/Communityguidelines
Translation: Habitica/Content
Translation: Habitica/Contrib
Translation: Habitica/Faq
Translation: Habitica/Front
Translation: Habitica/Gear
Translation: Habitica/Generic
Translation: Habitica/Groups
Translation: Habitica/Limited
Translation: Habitica/Messages
Translation: Habitica/Npc
Translation: Habitica/Overview
Translation: Habitica/Pets
Translation: Habitica/Questscontent
Translation: Habitica/Rebirth
Translation: Habitica/Spells
Translation: Habitica/Subscriber
Translation: Habitica/Tasks
* gift subscription fix
* remove only
---------
Co-authored-by: Weblate <noreply@weblate.org >
Co-authored-by: Ana Beatriz <anabeatriz.augusto06@yahoo.com >
Co-authored-by: Andressa Murari Sudré <andressa@sudre.com.br >
Co-authored-by: Cachinhos <cachnhos@gmail.com >
Co-authored-by: Falzart Werefox <muh_fauzi_ramadhan@yahoo.co.id >
Co-authored-by: Jay <fallacyofwildlifeconservation@gmail.com >
Co-authored-by: Jerry Chen <minecjraft@qq.com >
Co-authored-by: Yu-Wei Tien <a38498987911@gmail.com >
Co-authored-by: SabreCat <sabe@habitica.com >
2023-03-23 14:34:40 -05:00
Phillip Thelen
6887fd70c0
try something
2023-02-28 16:17:52 +01:00
Phillip Thelen
def24142ca
remove wrong test
2023-02-27 13:30:44 +01:00
Phillip Thelen
c29049146d
prevent sub accidentally also being applied to other account
2023-02-27 12:06:27 +01:00
Phillip Thelen
57fb7ca6f2
fix
2023-02-24 11:25:53 +01:00
Phillip Thelen
be18476292
correctly set perkMonthCount
2023-02-23 13:20:47 +01:00
Phillip Thelen
3f56b7fa3f
fix offset calculation
2023-02-17 15:42:31 +01:00
Phillip Thelen
d69de2948b
fix import
2023-02-16 09:58:09 +01:00
Phillip Thelen
e338fb8ce7
Merge branch 'apple_sub_fix' of https://github.com/HabitRPG/habitica into apple_sub_fix
2023-02-16 09:37:36 +01:00
Phillip Thelen
2d5dcae406
fix tests
2023-02-16 09:37:00 +01:00
Phillip Thelen
3203b09b7a
reset perkMonthCount when subscription ends
2023-02-15 10:05:18 +01:00
Phillip Thelen
6ee2e3a379
Merge remote-tracking branch 'origin/develop' into apple_sub_fix
2023-02-13 17:38:14 +01:00
Phillip Thelen
ad6555c92b
fix import
2023-02-06 17:16:43 +01:00
Phillip Thelen
c04e8ea514
comma
2023-02-06 13:01:06 +01:00
Phillip Thelen
aec2409227
lint fixes
2023-02-06 12:59:54 +01:00
Phillip Thelen
87aebcc19e
Merge branch 'apple_sub_fix' of https://github.com/HabitRPG/habitica into apple_sub_fix
...
# Conflicts:
# test/api/unit/libs/payments/apple.test.js
# website/server/libs/payments/subscriptions.js
2023-02-06 11:19:00 +01:00
Phillip Thelen
12479edb77
fix tests and some cases
2023-02-06 11:17:35 +01:00
Phillip Thelen
c0c6657536
handle upgrades and creations better
2023-02-06 11:17:35 +01:00
SabreCat
e81a052f66
fix(lint): line lengths and so on
2023-02-06 11:17:35 +01:00
Phillip Thelen
82a1d6ff0e
Improve handling
2023-02-06 11:17:35 +01:00