-
Notifications
You must be signed in to change notification settings - Fork 339
Bugfix/refresh json data reservation for clean memory #293
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
Open
wilodorico
wants to merge
79
commits into
OpenClassrooms-Student-Center:master
Choose a base branch
from
wilodorico:bugfix/refresh-json-data-reservation-for-clean-memory
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Bugfix/refresh json data reservation for clean memory #293
wilodorico
wants to merge
79
commits into
OpenClassrooms-Student-Center:master
from
wilodorico:bugfix/refresh-json-data-reservation-for-clean-memory
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…management; install pytest and python-dotenv; update .gitignore and requirements.txt
…ake8 and retrieve tests/
… exceed the club's number of points
…more place than limit
… and string representation
…ributes for encapsulation
…mit method to Competition model with tests
…es to availabe_places
…s, serialization and deserialization methods
…Repository for type annotations
…te purchase_places route in server.py
…sitory; update server routes to call reload
…xist and update index.html for display flash message under h1
…eservation for testing
…e reservation logic in ReservePlaceUseCase
…sitory; implement _add method in ReservationJsonRepository for better reservation handling
…method to return None and adjust purchase_places route accordingly
…ate methods for Club and Competition repositories, and rename save method in Reservation repository to align with conventions
…r data access and access for testing
…competition not found scenarios
…tition, and date;
…points, exceeding max places, and not enough available places
Add test test_reserve_place_with_past_competition_raises_error. Refactor date handling in Reservation and Competition models to use type datetime for possible comparaison. Update ReservePlaceUseCase to prevent reservations for past competitions
…gainst the maximum limit
…or competitions in memory repository
…ok more than 12 places per competition. Refactor reservation limit check to include total already reserved places for competitions
…or reservation limit checks
…mplate for club points display
…lcome, booking, index, points dashboard, and add Bootstrap styling
…o handle GET requests, add session handling for club name, and modify navigation links based on session state.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.