-
Notifications
You must be signed in to change notification settings - Fork 0
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
MERGE PROFILE PAGE: #80
Conversation
4f46c1c
to
6ad173e
Compare
Add an avatar component, and use it on settings component.
Add a really basic profile page and component.
Add options on WrapperOptions on api plugin.
Add the serveStaticModule on appModule, in order to serves avatars folder
Rewrite createOrUpdate user method.
Add an upload avatar route, in order to upload files on avatars files.
Add upload avatar from profile or from settings pages.
Add a rule ignoring the "avatars" folder.
Added a global exception filter to return a 404 error when retrieving a non-existent image.
Provide a way to change username, catching already taken usernames. Generate a suffix to already exist username during user creation (first login)
Add a Username component, to provide an easy way to display or custom username. Fix navigator cache when posting a new image with the same mime/type as the older one by adding a suffix based on current timestamp.
Fix the ability to change our username through someone else profile page.
Add a basic status module with his service.
Update the user controller and chat gateway, in order to implement the basic status logic. The get(/user/:id) will not return the user and his current status. The gateway will notify each connected clients with an event `user:${id}:status` with the current status of a player connecting or disconnecting.
3428477
to
666dea1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey I asked a few questions on this PR. It's mostly in order to understand what is done even though it seems to be working as expected.
If you have time to explain here or when we're live I would appreciate.
I did not review the front files as I do not feel at ease to do it.
Add user status to profile page.
666dea1
to
c819538
Compare
Update username validation rules for alphanumeric with hyphens and underscores.
a73c69c
to
6b45db5
Compare
Add the blur to all profiles (and not only ours)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your quick work on this new feature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving the back files.
When you're good with the front you can merge @Elena-Lou
Remove useless logs. Co-authored-by: Elena-Lou <[email protected]>
Add a basic profile page including:
Avatar upload.
Ability to change username.
Add a suffix when username already taken.
Add basic status management.
Close #66
Close #56