Add GUI apps for encoding & decoding input text #309
Merged
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.
Overview
Add new
dslg
GUI application for decoding input text containing one or more Safe Links URLs (while leaving surrounding text intact). This new GUI app is currently nameddslg
based on the existingdsl
CLI app's functionality and name (with a "g" suffix for "gui").Add new
eslg
GUI application for generating faux Safe Links URLs and "scrambled" query parameter encoded URLs for testing purposes. This app is namedeslg
for "encode Safe Links" and a "g" suffix for "gui".These new GUI tools use the Fyne toolkit.
This toolkit has different build requirements than the existing CLI
usl
anddsl
tools (e.g., CGO) which necessitated changing the associated Makefile and build container(s) to conditionally apply Fyne toolkit settings just to the GUI application while excluding existing CLI apps.The end result continues to be portable CLI apps and GUI apps with the minimum OS dependencies possible. See the updated README file for more information.
Refactoring changes have also been applied in an effort to unify functionality between the tools provided by this project. Further refactoring opportunities are available.
Changes
Makefile
to provide conditional build logicpodman-quick-build*
Makefile recipespodman-quick-build-linux
podman-quick-build-windows
-podman-quick-build
README
to provide coverage for new GUI apps.github/dependabot.yml
file to cover build Dockerfiles.dockerignore
file/dsl
.gitattributes
fileReferences