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

Dev to Main | Dependency updates and New Seeks Endpoints #10

Merged
merged 44 commits into from
Dec 6, 2024
Merged

Conversation

invaderb
Copy link
Member

@invaderb invaderb commented Dec 3, 2024

docs[README]: port and target folder setup, Fix sql-db creation scripts
refactor[Seek ctor+newSeek]: improve parameter names
feat[Seek API]: Add API to create seeks without a player/client assigned to them yet (unclaime) or to list them
Endpoint is /api/v1/seeks via GET or PUT
Allows claiming a seek for yourself by "joining it". This makes the seek become active and thus now a second player can accept the seek.
chore[properties.xml]: Set ports to the ones used on production
docs[README]: Updated with ports used in production/beta/local dev
fix[Seek API]: Send HTTP-Header Content-Type
feat[Seek API]: Only for currently connected players can seeks be created

  • Improved throw exceptions
  • Reverted "UNCLAIMED" approach for seeks

chore[properties.xml]: Fix db-path default
chore[vscode/settings]: set tabSize=2
chore[SeekDto.java]: format document (tabs->spaces)
fix[Seek]: Assign seek created through the API to the client. Also Remove the old seek when creating a new seek instead of allowing a single player to own many seeks.
chore[indentation]: Fix for new/changed files to use tabs like in the rest of the project
chore[Readme]: Updated HTTP API section
fix[Seek]: Create correct SeekDto by using builder pattern
refactor: Move SeekDto to DTOs folder
feat: Configure global loggin format
feat[GameUpdateBroadcaster] Allow registering an endpoint that receives POST messages about started and ended games
fix[GameDto]: Remove unused member "color"
chore: Remove incorrect comment about komi
feat: Add UUID to Seek and Game so that users of the API can connect the two (Seek.uid, Game.seekUid)
chore: Set default event-subscriber-url to the playtak-api port; Remove unused TestHandler /api/v1/test;
feat: Replace seekUid with pntId
feat: docker
Update .github/deploy.dev.yml to JDK 21
feat: add bruno tests
chore: update player db schema and update readme
enh: developer script to add a user with trivial password
fix: fixing script, docs, implementing feedback

  • modify script to accept sqlite location as an argument and make
    changes directly
  • updating script documentation
  • determining next id and providing it to insert (since it is not
    autoincremented to a default)
  • check against duplicate names (since DB does not enforce unique
    names)
  • added to README

chore: update dependency sqlite version

nitzel added 30 commits April 19, 2023 19:23
…ned to them yet (unclaime) or to list them

Endpoint is /api/v1/seeks via GET or PUT

Allows claiming a seek for yourself by "joining it". This makes the seek become active and thus now a second player can accept the seek.
…ated

- Improved throw exceptions
- Reverted "UNCLAIMED" approach for seeks
…move the old seek when creating a new seek instead of allowing a single player to own many seeks.
…es POST messages about started and ended games
…zoncorretto-21 so that most images are alpine based instead of amazonlinux
… events won't be broadcastet and don't even grow the queue
nitzel and others added 14 commits June 17, 2024 21:29
Add Seek API and game update broadcasting
chore: update player db schema and update readme
- modify script to accept sqlite location as an argument and make
  changes directly
- updating script documentation
- determining next id and providing it to insert (since it is not
  autoincremented to a default)
- check against duplicate names (since DB does not enforce unique
  names)
- added to README
enh: developer script to add a user with trivial password
@invaderb invaderb self-assigned this Dec 3, 2024
@invaderb invaderb changed the title Dev o Main | dependency updates and Seeks endpoitns Dev to Main | Dependency updates and New Seeks Endpoints Dec 3, 2024
@invaderb invaderb merged commit 8b02747 into main Dec 6, 2024
3 checks passed
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.

4 participants