Add serverside LOGIN-command #40

Closed
opened 2026-04-01 13:31:56 +02:00 by lars.winzer · 16 comments
lars.winzer commented 2026-04-01 13:31:56 +02:00 (Migrated from git.scicore.unibas.ch)

Task

Summary

Adds parsers and handlers essential to logging in and creating a user on the server.

Context

CommandParser, Request, CommandHandler and Response

Current Progress

  • LoginCommandParser
  • LoginRequest
  • LoginCommandHandler
  • LoginResponse

Notes

Request

LOGIN USERNAME='<Username>'

Response

+OK
  USERNAME='<Assigned username, can be the requested or with suffix>'
  ID=<Random UUID>
END

Checklist

  • I outlined checkpoints describing phases of my work related to this task
  • I added relevant labels
  • I linked to other issues or branches that must be completed first
## Task <!--The reccommended type is: Task--> ### Summary Adds parsers and handlers essential to logging in and creating a user on the server. ### Context CommandParser, Request, CommandHandler and Response ### Current Progress - [x] LoginCommandParser - [x] LoginRequest - [x] LoginCommandHandler - [x] LoginResponse ### Notes #### Request ``` LOGIN USERNAME='<Username>' ``` #### Response ``` +OK USERNAME='<Assigned username, can be the requested or with suffix>' ID=<Random UUID> END ``` ### Checklist - [x] I outlined checkpoints describing phases of my work related to this task - [x] I added relevant labels - [x] I linked to other issues or branches that must be completed first
lars.winzer commented 2026-04-01 13:32:06 +02:00 (Migrated from git.scicore.unibas.ch)

marked this task as related to #37

marked this task as related to #37
lars.winzer commented 2026-04-01 13:32:09 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item I linked to other issues or branches that must be completed first as completed

marked the checklist item **I linked to other issues or branches that must be completed first** as completed
lars.winzer commented 2026-04-04 13:17:59 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @lars.winzer

assigned to @lars.winzer
lars.winzer commented 2026-04-04 13:18:13 +02:00 (Migrated from git.scicore.unibas.ch)

unassigned @lars.winzer

unassigned @lars.winzer
lars.winzer commented 2026-04-07 11:46:26 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @lars.winzer

assigned to @lars.winzer
lars.winzer commented 2026-04-07 11:46:45 +02:00 (Migrated from git.scicore.unibas.ch)

created branch feat/40-add-serverside-login-command to address this issue

created branch [`feat/40-add-serverside-login-command`](/cs108-fs26/Gruppe-13/-/compare/main...feat%2F40-add-serverside-login-command) to address this issue
lars.winzer commented 2026-04-07 11:51:48 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item LoginRequest as completed

marked the checklist item **LoginRequest** as completed
lars.winzer commented 2026-04-07 11:56:19 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item LoginCommandParser as completed

marked the checklist item **LoginCommandParser** as completed
lars.winzer commented 2026-04-07 11:58:47 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item LoginResponse as completed

marked the checklist item **LoginResponse** as completed
lars.winzer commented 2026-04-07 12:12:31 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item LoginCommandHandler as completed

marked the checklist item **LoginCommandHandler** as completed
lars.winzer commented 2026-04-07 12:15:42 +02:00 (Migrated from git.scicore.unibas.ch)

It has been (via manual testing) confirmed that the UserCleanupJob removes expired users properly. The username can then be reused.

It has been (via manual testing) confirmed that the UserCleanupJob removes expired users properly. The username can then be reused.
lars.winzer commented 2026-04-07 12:17:28 +02:00 (Migrated from git.scicore.unibas.ch)

added 30m of time spent at 2026-04-07 12:00:00 +0200

added 30m of time spent at 2026-04-07 12:00:00 +0200
lars.winzer commented 2026-04-07 12:21:47 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !81

mentioned in merge request !81
lars.winzer commented 2026-04-07 12:23:34 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit fee71a8a2c

mentioned in commit fee71a8a2c67ad738f371042dcf1d5cafcba7085
lars.winzer (Migrated from git.scicore.unibas.ch) closed this issue 2026-04-07 12:23:34 +02:00
lars.winzer commented 2026-04-07 14:13:26 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in issue #56

mentioned in issue #56
lars.winzer commented 2026-04-07 20:14:18 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !85

mentioned in merge request !85
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#40