mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-08 07:06:32 +00:00
commit 3aba0abeddd5136c5312bee9d96a5febd80c0270
Author: SabreCat <sabe@habitica.com>
Date: Mon Oct 2 20:51:20 2023 -0500
fix(router): use state to pass modal launch info
commit 541eadd319ed48c7bbdbda25e3e5d0780b92e50a
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 c0bb56c8c214203ab7b53790391c81d4833a88bc
Author: SabreCat <sabe@habitica.com>
Date: Wed Sep 27 16:15:28 2023 -0500
test(profiles): add integrations
commit 9b644e9ad8ee09bdb457ad611c7618ced1984fb2
Author: SabreCat <sabe@habitica.com>
Date: Tue Sep 26 17:17:22 2023 -0500
fix(profile): adjust margin
commit bfefe5dfa9bdfb04b632bca7c9c49c6d36531fa8
Author: SabreCat <sabe@habitica.com>
Date: Tue Sep 26 17:12:24 2023 -0500
fix(profiles): moar layout fixes
commit 8f211ee3e2f7decf9426004ae5feb031a3d34fca
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 b1d23ec88b5414187d1f0220efa54410f92286b1
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 ee9709a9e1499cbea5983543103bba62c4a82103
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 f80928a8956d6db34b89dc203a43e471eef8fa51
Author: CuriousMagpie <eilatan@gmail.com>
Date: Mon Sep 18 13:43:34 2023 -0400
update(node): update node modules
commit 1d552f7e80735a0759cbc4777b49c7c552cd200d
Author: SabreCat <sabe@habitica.com>
Date: Fri Sep 15 16:52:22 2023 -0500
fix(import): remove empty import
commit f55d74a95dcf7e8b2210be6e1a7f661389863ee6
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 311c74328440c99f05bc3b342ce1250838eca826
Author: SabreCat <sabe@habitica.com>
Date: Fri Sep 15 15:44:56 2023 -0500
refactor(profile): remove page view
commit f8632bf50d54008cca368e8bf7b4b302cc4367bf
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 ec85159c65ed3a8b687713b54666dfb18b6cc93b
Author: SabreCat <sabe@habitica.com>
Date: Mon Sep 11 22:53:14 2023 -0500
feat(profiles): load modal instead of page?
commit 99860829142e377a98775fb50a007ff7e7e301d0
Author: CuriousMagpie <eilatan@gmail.com>
Date: Fri Sep 8 14:49:57 2023 -0400
WIP(profile): fixed a comment, woohoo
commit 6262a9ba0ca270eadc3c1a330a9917a4fd35cfa9
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 ea2b007b1a5459343dbf4dd49531768fbb8cad38
Author: SabreCat <sabe@habitica.com>
Date: Thu Sep 7 16:54:19 2023 -0500
fix(profile): focus behavior
commit ae2b614df20493c993bc830f41e671eae10d5297
Author: CuriousMagpie <eilatan@gmail.com>
Date: Thu Sep 7 17:47:08 2023 -0400
WIP(profile): styling updates
commit 2e0723f1b94595bd6a6d816abf9bf137f7241c75
Author: SabreCat <sabe@habitica.com>
Date: Thu Sep 7 15:37:59 2023 -0500
feat(moderation): unflag profile
Also a few stylistic tweaks
commit edcf8113deb29e7d8540130f096717c9278b02fd
Author: SabreCat <sabe@habitica.com>
Date: Wed Sep 6 16:39:02 2023 -0500
WIP(profile): dropdown draft
commit 0691483d63c9aa2a844c77034ad4215477c05ee4
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Sep 6 16:33:30 2023 -0400
WIP(profile): Styling and string updates
commit 7e9d57d10a4aebbd373982a24da7108515352e15
Author: SabreCat <sabe@habitica.com>
Date: Wed Sep 6 11:40:31 2023 -0500
feat(profile): functional dropdown buttons
commit a2989b28330679d3f14198e3835f35079eb4e282
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 af6575e40cb2d78c813568f7bb690590d2ad754f
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Sep 6 11:01:05 2023 -0400
WIP(profile): comment cleanup
commit 7b1de37202daea29c8c95e38dac9ff974b70ea8d
Author: CuriousMagpie <eilatan@gmail.com>
Date: Tue Sep 5 17:22:14 2023 -0400
WIP(profile): remove shadowban tooltip
commit d1177c32b9c012d838448b29601a6970bcb4e927
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 321a01b08120c6214793fcff14c09d011520e5a0
Author: CuriousMagpie <eilatan@gmail.com>
Date: Fri Sep 1 16:14:36 2023 -0400
WIP(profile): close button finally workinating
commit e143d36d28f8a0e46d41931da021bacbae9649dc
Author: CuriousMagpie <eilatan@gmail.com>
Date: Fri Sep 1 15:52:38 2023 -0400
WIP(profile): close icon moved to profile.vue
commit 31f821021b11de4c320d19ee6aadca845fc8afed
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 8957c5c009dac11a4a8c1292c603d101ca9ff216
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 d340f06a22691a929c87b464560c4d8b4046b0d6
Author: CuriousMagpie <eilatan@gmail.com>
Date: Fri Sep 1 15:37:57 2023 -0400
WIP(profile): fixed user not found error
commit 0aec3866a49a991a869cf13d33592ff80347306e
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 a8f5e25d38493d41b2f64f9abfe9cf754fd15481
Author: SabreCat <sabe@habitica.com>
Date: Thu Aug 31 17:02:07 2023 -0500
feat(community): basic "report profile"
commit b01f323b148aa46dc6371f3234e4912d50551a3a
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 ce7d51a20cdbeb4a32e750205759dbd748d95ccd
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 18b41acd9440a9a2574d4d8a6056f740e7d00730
Author: CuriousMagpie <eilatan@gmail.com>
Date: Thu Aug 31 12:23:41 2023 -0400
WIP(profile): moar buttonz
commit 9387b3a6bc35a937f9558e3395e2eb291fd11f72
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Aug 30 17:21:36 2023 -0400
WIP(profile): buttons
commit b3ea48c4f5b30747b1b28d159818c05341994bb4
Author: CuriousMagpie <eilatan@gmail.com>
Date: Fri Aug 25 15:52:41 2023 -0400
WIP(profile): work on achievement component
commit a1ceb2ea7560e5bec9c1b6a7f7113db466855381
Author: CuriousMagpie <eilatan@gmail.com>
Date: Fri Aug 25 14:39:12 2023 -0400
WIP(profile): create achievements component
commit 4a24d9b80b434e752fcd22098691a05e80aa8fb1
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 1e05297e96b0e9b25c7713dc8fee5c18dc9c27b8
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Aug 23 13:12:52 2023 -0400
package updates
commit 8fe263a377ffdfb59b667c0c2da9aa88924db78a
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Aug 23 12:12:36 2023 -0400
update(dependencies): ran npm install to update dependencies
commit 190fe048a11395d9cde11c6682fd3b9d06d9abbc
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 3ea48ab5cb80b9eccbce82bdce01901b02a5c36e
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 c301a2b46025efa2a7fb33edac79be7e1bb467f3
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 1da6af11b597bbbd2abba2d99007a32ff520d954
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 dd55cbc928b9a89c2c800d6e5e46e09aaf655ba4
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Aug 9 15:38:46 2023 -0400
WIP(user profile): workin on the hamburger (kebab?) menu
commit 3834093207443364e5f5906ce0a522f29c1a9924
Author: CuriousMagpie <eilatan@gmail.com>
Date: Tue Aug 8 14:14:40 2023 -0400
WIP(user profiles): working on the drop down menu
commit f2be5881950271cbeb67c7101054c8c3721d7f81
Author: CuriousMagpie <eilatan@gmail.com>
Date: Mon Aug 7 16:10:30 2023 -0400
WIP(user profile): options menu
commit 010f2299f0c0f2a6537c0989be039e8fa17a366b
Author: SabreCat <sabe@habitica.com>
Date: Mon Aug 7 11:49:04 2023 -0500
fix(lint): eof and const
commit 4551dbf4b3f8def55480ac60224d2a4fbebbb4f2
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 19a9fe36447646d56ea1d614cd75bff5f5328f61
Author: CuriousMagpie <eilatan@gmail.com>
Date: Thu Aug 3 15:06:51 2023 -0400
WIP(user profile): adding buttons
commit dfdb305b1c6eb3b455b386f5c19f603540e16644
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Aug 2 14:41:20 2023 -0400
WIP(user profile): layout
commit ded4eee6934a3085ac5b8c06d24d4fe3dbfb18ba
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Aug 2 12:04:02 2023 -0400
WIP(user profile): start flex grid & tidy up CSS
commit aaca48be3214a9f33fc03d0cc028f694a4fa8cb0
Author: CuriousMagpie <eilatan@gmail.com>
Date: Fri Jul 28 16:44:06 2023 -0400
WIP(user profile): mostly css updates
commit e531985b8718b43339d11668c77109e1e52f7264
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 eb4021fcc7e8b6bed195b9f337b95467e30cf0c6
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Jul 26 16:33:05 2023 -0400
feat(content): upgrade profile page
commit 1b25394f3e5a7db92d4887edcc78bda0bff25508
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 c50cee0d88b9ef1b52513f164f1c4824aef22405
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 55848c58bead479fdb687bb9a2e2b2a649a557e9
Author: SabreCat <sabe@habitica.com>
Date: Mon Jul 10 16:24:20 2023 -0500
WIP(members): basic report a user API
commit dda61807922655515e0fc9bbc075bd6f51491b9c
Author: SabreCat <sabe@habitica.com>
Date: Thu Jul 6 10:05:07 2023 -0500
fix(lint): remove console.info
15 lines
562 B
JavaScript
15 lines
562 B
JavaScript
import GroupChatReporter from './groupChatReporter';
|
|
import InboxChatReporter from './inboxChatReporter';
|
|
import ProfileReporter from './profileReporter';
|
|
|
|
export function chatReporterFactory (type, req, res) { // eslint-disable-line import/prefer-default-export, max-len
|
|
if (type === 'Group') {
|
|
return new GroupChatReporter(req, res);
|
|
} if (type === 'Inbox') {
|
|
return new InboxChatReporter(req, res);
|
|
} if (type === 'Profile' || type === 'User') {
|
|
return new ProfileReporter(req, res);
|
|
}
|
|
|
|
throw new Error('Invalid chat reporter type.');
|
|
}
|