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

Add admin service, support screen name formatting #45

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

jgknight
Copy link
Contributor

Summary

This adds the admin service for performing account admin functions, like formatting the user's display screenname.

  • Adds a new service on default port 5196 for ADMIN requests.
    -- Fixes up a missing env var for the BART service in the systemd unit file
  • Adds definitions for admin-related SNACs
  • Adds handling for screenname formatting (My AIM > Edit Options > Format Screen Name)
  • Stubs out the account email request and confirmation request so the client can at least get a response. These will be completed in separate PRs
  • Adds unit tests for the new functionality

Testing Done

  • All new and existing unit tests pass

  • Used multiple AIM clients signed on and tested formatting the screenname, verified the update is delivered to buddies.

image
  • The server rejects names > 16 characters
image

foodgroup/admin.go Outdated Show resolved Hide resolved
Copy link
Owner

@mk6i mk6i left a comment

Choose a reason for hiding this comment

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

Looks good! Just a couple small asks

Adds an additional service, ADMIN, to handle administrative functions such as
formatting screenname, updating email address, etc.

This initial pass implements screenname formatting and stubs out a few additional
functions to be implemented later.
@mk6i mk6i merged commit 840ca35 into mk6i:main Jun 29, 2024
1 check passed
@jgknight jgknight deleted the admin-service-formatsn branch July 5, 2024 16:43
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