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

Feat: Date based code update #225

Merged
merged 4 commits into from
Nov 9, 2024
Merged

Feat: Date based code update #225

merged 4 commits into from
Nov 9, 2024

Conversation

tykeal
Copy link
Owner

@tykeal tykeal commented Nov 9, 2024

  • Chore: Config constants in alphabetical order
  • Feat: Add should_update_code to configuration
  • Feat: Date based code updates
  • Docs: Update date based code docs

Fixes: #219

Signed-off-by: Andrew Grimberg <tykeal@bardicgrove.org>
Add new flag for data based codes to update the code if the start or end
date of future events change. This will allow for the code to be updated
if the event changes and the code is no longer valid.

Schema version is updated to 7 with the flag defaulting to False for
existing configurations and True for new configurations.

Signed-off-by: Andrew Grimberg <tykeal@bardicgrove.org>
For date based code generator codes, if a future reservation changes the
start date of the reservation, the code for that slot will be cleared
thus causing a fresh code to be generated when the reservation starts.

Signed-off-by: Andrew Grimberg <tykeal@bardicgrove.org>
Signed-off-by: Andrew Grimberg <tykeal@bardicgrove.org>
@tykeal tykeal changed the title date based code update Feat: Date based code update Nov 9, 2024
@tykeal tykeal added the enhancement New feature or request label Nov 9, 2024
@tykeal tykeal merged commit 6fdb001 into main Nov 9, 2024
8 checks passed
@tykeal tykeal deleted the date_based_code_update branch November 9, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lock code did not update when guest made reservation change
1 participant