Skip to content

assigning user tags#369

Open
cboldtsus wants to merge 7 commits into
csmith1188:RCfrom
cboldtsus:cboldt
Open

assigning user tags#369
cboldtsus wants to merge 7 commits into
csmith1188:RCfrom
cboldtsus:cboldt

Conversation

@cboldtsus

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread formapp/app.py
Comment on lines +255 to +258
if tags = True
else:
sD.studentDict[remote]['perms'] = int(user[3])
sD.studentDict[remote]['tags'] = json.loads(user[13])

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

How does this not cause a huge error?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ive been trying to fix this, it only breaks when making a new user, but i have no idea where else to put this, it needs this to load the tags for users. if i remove this, the tags stop working

Comment thread formapp/app.py
Comment thread formapp/app.py
Comment thread formapp/app.py
Comment thread formapp/debug.log
Comment thread formapp/index.py
Comment on lines +664 to +671
} else if (text.startsWith("!#sound")) {
// text.splice(0, 2);
// args = text.split(" ");
// args.shift();
chatSocket.emit("sound", packMSG(receiver, username, { command: 'bgm', file: 'rickroll.mp3'}));}
else {
chatSocket.emit("message", packMSG(receiver, username, text));
}
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This needs to be in a different PR/branch.

Comment thread formapp/templates/controlpanel.html
Comment thread formapp/templates/users.html
@cboldtsus cboldtsus changed the title issue #349 assigning user tags Oct 25, 2022
@cboldtsus cboldtsus self-assigned this Oct 25, 2022
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.

3 participants