-
Notifications
You must be signed in to change notification settings - Fork 5
1.8.0 #203
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
Merged
Merged
1.8.0 #203
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
c9aee8e
initial era selection screen (#201)
digitalghost-dev 44e6ea9
sorting imports
digitalghost-dev ee1e7e9
switching to list for expansions instead of table (#201)
digitalghost-dev 2c98e6c
standardizing key handling patterns (#202)
digitalghost-dev cc57ad8
fixing key navigation issues
digitalghost-dev 80be6c1
updating version numbers
digitalghost-dev 988f42a
renaming model name (#201)
digitalghost-dev 2e7d22d
renaming file (#201)
digitalghost-dev 7336deb
renaming file (#201)
digitalghost-dev 06c650b
adding test file
digitalghost-dev fb77b44
removing `tea.WithAltScreen()` and editing settings (#201)
digitalghost-dev fdc9984
capture series ID for set filtering, adding list function (#201)
digitalghost-dev 5415478
moving list design into own file (#201)
digitalghost-dev 7b50c3b
updating paths to ignore
digitalghost-dev 878b6ab
updating dependencies with critical/high CVE warnings
digitalghost-dev 90e6991
updating testing data
digitalghost-dev 6629cd5
editing RLS ruling
digitalghost-dev 69bc312
initial commit
digitalghost-dev 3dabd58
removing unneeded tests (#201)
digitalghost-dev 464db35
renaming files (#201)
digitalghost-dev af8538d
removing comment
digitalghost-dev 378b9f0
adding first function for card details (#201)
digitalghost-dev bd1b977
successfully chaining all three BubbleTea programs (#201)
digitalghost-dev 5319d2a
updating paths to ignore
digitalghost-dev bf414d1
first working version (#201)
digitalghost-dev fba59ac
first working version (#201)
digitalghost-dev 2744e5b
updating dependencies
digitalghost-dev e256be3
adding card command reference (#201)
digitalghost-dev 5eec505
correctly calling card price data (#201)
digitalghost-dev c70f046
adding pricing data to table (#201)
digitalghost-dev 6070182
adding priceMap for fewer API calls and smoother rendering (#201)
digitalghost-dev c97724d
initial commit (#201)
digitalghost-dev 8f958fe
adding `create_view()` post hook (#201)
digitalghost-dev 5e0ca16
initial test file (#201)
digitalghost-dev c90d340
validating card command args (#201)
digitalghost-dev 1d043e1
creating image BubbleTea program (#201)
digitalghost-dev fea7348
adding new tests (#201)
digitalghost-dev d6a9a72
adding image column (#201)
digitalghost-dev 392e03e
removing comments
digitalghost-dev d2155a4
adding all sets from SV and ME
digitalghost-dev 80c1679
adding leading 0 to sets that have fewer than 100 cards to make `JOIN…
digitalghost-dev 4164fc5
disabling telemetry
digitalghost-dev 4716e3e
removing `CardPrice` function, adding `Cardimage` in its replacement …
digitalghost-dev 125824b
initial cardinfo test file (#201)
digitalghost-dev b9617dc
adding `ImageMap` to `CardsModel` struct (#201)
digitalghost-dev 11d43de
adding illustrator column
digitalghost-dev f263182
adjusting width (#201)
digitalghost-dev 77b3820
updating text (#201)
digitalghost-dev a89a07f
adding blank identifier
digitalghost-dev 957686f
returning an error rather than using `os.Exit(1)` (#201)
digitalghost-dev 1c9a47c
opening card image in separate window (#201)
digitalghost-dev c04988f
adding timeout and limiting image body size (#201)
digitalghost-dev 6333096
adding illustrator to right panel (#201)
digitalghost-dev e48c1fb
updating tests
digitalghost-dev 77833ab
returning error instead of crashing the program with `log.Fatal()` (#…
digitalghost-dev 2efbcb8
updating tests
digitalghost-dev 67a8d36
fixing linting issues
digitalghost-dev 91c91ab
fixing linting issues
digitalghost-dev 76c2df9
adding `ansi` and `image` libraries (#201)
digitalghost-dev 40fc057
updating layout, adding card cmd reference
digitalghost-dev 474275b
adding data infra diagram
digitalghost-dev 4e4ede4
removing Sword & Shield option for now
digitalghost-dev b603977
adding soda data quality checks to pricing data pipeline
digitalghost-dev 63ced12
updating tested terminals section
digitalghost-dev 7c10ba0
updating line location
digitalghost-dev 9ee532e
removing unused test (#201)
digitalghost-dev fdf24b2
returning an error instead of calling `os.Exit(1)` (#201)
digitalghost-dev bbe6cac
adding timeout to `http` call (#201)
digitalghost-dev c94c979
adding timeout to `http` call, replacing `log.Fatalf()` by returning …
digitalghost-dev 47266b8
updating help menu (#201)
digitalghost-dev 3b307f2
replacing `log.Fatalf()` by returning an error (#201)
digitalghost-dev bbc6f48
adding error handling to image rendering (#201)
digitalghost-dev f5a3282
adding error handling to set list loading (#201)
digitalghost-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| cmd/card/setslist.go:generic-api-key:116 | ||
| cmd/card/cardlist.go:generic-api-key:157 | ||
| codecov.yml:generic-api-key:2 | ||
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,4 +9,7 @@ storage: | |
| db_name: postgres | ||
| port: 5432 | ||
| params: | ||
| sslmode: require | ||
| sslmode: require | ||
|
|
||
| telemetry: | ||
| enabled: false | ||
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| name: 'poke_cli_dbt' | ||
| version: '1.7.4' | ||
| version: '1.8.0' | ||
|
|
||
| profile: 'poke_cli_dbt' | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,9 @@ | ||
| {% macro enable_rls() %} | ||
| ALTER TABLE {{ this }} ENABLE ROW LEVEL SECURITY; | ||
| CREATE POLICY "Enable read access for all users" ON {{ this }} TO PUBLIC USING (true); | ||
| CREATE POLICY "Enable Read Access for All Users" | ||
| ON {{ this }} | ||
| AS PERMISSIVE | ||
| FOR SELECT | ||
| TO PUBLIC | ||
| USING (true); | ||
| {% endmacro %} |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| {% macro create_view() %} | ||
| CREATE OR REPLACE VIEW public.card_pricing_view | ||
| WITH (security_invoker = true) AS | ||
| WITH cards_cte AS ( | ||
| SELECT | ||
| set_id, | ||
| image, | ||
| name, | ||
| "localId", | ||
| "set_cardCount_official", | ||
| CONCAT(name, ' - ', "localId", '/', LPAD("set_cardCount_official"::text, 3, '0')) AS card_combined_name, | ||
|
digitalghost-dev marked this conversation as resolved.
|
||
| set_name | ||
| FROM public.cards | ||
| ), | ||
|
|
||
| cards_pricing_cte AS ( | ||
| SELECT | ||
| product_id, | ||
| market_price, | ||
| CONCAT(name, ' - ', card_number) AS card_combined_name, | ||
| card_number | ||
| FROM public.pricing_data | ||
| ) | ||
|
|
||
| SELECT | ||
| c.set_id, | ||
| c.name, | ||
| CONCAT(p.card_number, ' - ', c.name) AS number_plus_name, | ||
| CONCAT(c.image, '/high.png') AS image_url, | ||
| c.set_name, | ||
| c."localId", | ||
| p."market_price", | ||
| p."card_number" | ||
| FROM | ||
| cards_cte AS c | ||
| INNER JOIN | ||
| cards_pricing_cte AS p | ||
| ON c.card_combined_name = p.card_combined_name | ||
| ORDER BY c."localId" | ||
| {% endmacro %} | ||
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.