Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract ids instead of usernames #1829

Merged
merged 7 commits into from
Feb 7, 2024

Conversation

corrideat
Copy link
Member

No description provided.

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preliminary partial review

frontend/controller/actions/group.js Outdated Show resolved Hide resolved
frontend/controller/actions/group.js Show resolved Hide resolved
frontend/controller/actions/group.js Outdated Show resolved Hide resolved
frontend/controller/actions/group.js Show resolved Hide resolved
frontend/controller/actions/group.js Show resolved Hide resolved
frontend/controller/actions/group.js Show resolved Hide resolved
Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 2

} else {
const randDelay = randomIntFromRange(0, 1500)
console.warn(`autoBanSenderOfMessage: ${e.message} attempting to ban ${username}, retrying in ${randDelay} ms...`, e)
console.warn(`autoBanSenderOfMessage: ${e.message} attempting to ban ${member}, retrying in ${randDelay} ms...`, e)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still want to print out their username here as well.

I haven't finished reviewing the PR yet so I don't know, but if there isn't a getter to go from identityContractID => username then this is a great time/place to use it and add one

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is (as you also found out in another later comment), it was userUsername, which now is usernameFromID.

frontend/controller/actions/identity.js Outdated Show resolved Hide resolved
frontend/main.js Outdated Show resolved Hide resolved
shared/domains/chelonia/internals.js Outdated Show resolved Hide resolved
test/backend.test.js Outdated Show resolved Hide resolved
Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 3!

frontend/model/contracts/group.js Outdated Show resolved Hide resolved
frontend/controller/actions/group.js Show resolved Hide resolved
frontend/main.js Outdated Show resolved Hide resolved
frontend/model/contracts/chatroom.js Show resolved Hide resolved
frontend/model/contracts/chatroom.js Outdated Show resolved Hide resolved
frontend/model/notifications/mainNotificationsMixin.js Outdated Show resolved Hide resolved
frontend/model/notifications/selectors.js Show resolved Hide resolved
frontend/model/state.js Outdated Show resolved Hide resolved
@corrideat corrideat force-pushed the contract-ids-instead-of-usernames branch from d409873 to beed4c6 Compare February 7, 2024 16:53
Copy link

cypress bot commented Feb 7, 2024

Passing run #1856 ↗︎

0 110 8 0 Flakiness 0

Details:

Merge 62d941b into 3c7a3ba...
Project: group-income Commit: 7693b1d9ad ℹ️
Status: Passed Duration: 10:31 💡
Started: Feb 7, 2024 9:07 PM Ended: Feb 7, 2024 9:17 PM

Review all test suite changes for PR #1829 ↗︎

@corrideat corrideat force-pushed the contract-ids-instead-of-usernames branch from 86697c8 to 46bf6bc Compare February 7, 2024 20:26
Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Herculean job!

@taoeffect taoeffect merged commit f8cac66 into master Feb 7, 2024
4 checks passed
@taoeffect taoeffect deleted the contract-ids-instead-of-usernames branch February 7, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants