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

Allow QR codes to be generated for disabled short URLs #1962

Merged
merged 6 commits into from
Dec 24, 2023

Conversation

acelaya
Copy link
Member

@acelaya acelaya commented Dec 22, 2023

Closes #1960

Add a new config option to allow QR code generation to work for disabled short URLs.

This is partially a bug fix, as this should probably have always been the behavior. However, there could be people relying on this buggy behavior, so this keeps the behavior as is and allows to opt-in to the "fixed" behavior.

Shlink 4.0.0 will keep this option, but change the default value.

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8ca2b3c) 96.90% compared to head (e12bda3) 96.90%.
Report is 2 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #1962   +/-   ##
==========================================
  Coverage      96.90%   96.90%           
- Complexity      1341     1344    +3     
==========================================
  Files            247      247           
  Lines           4650     4657    +7     
==========================================
+ Hits            4506     4513    +7     
  Misses           144      144           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acelaya acelaya marked this pull request as ready for review December 24, 2023 09:27
@acelaya acelaya merged commit 625eba7 into shlinkio:develop Dec 24, 2023
33 checks passed
@acelaya acelaya deleted the feature/disabled-qr-codes branch December 24, 2023 15:55
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.

QR-Code generation fails if the short url is not enabled
1 participant