Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
78f9827
added static shiftcodes file
w-zz-w-zz-w Sep 3, 2023
836abaa
added extra source
w-zz-w-zz-w Sep 3, 2023
47c9c7e
fixed typo
w-zz-w-zz-w Sep 3, 2023
793d096
testing minimum metadata on code
w-zz-w-zz-w Sep 3, 2023
da66f64
fix code typo
w-zz-w-zz-w Sep 3, 2023
be96782
merged in historic shift codes
Sep 3, 2023
f4f8149
rename Dockerfile
w-zz-w-zz-w Sep 3, 2023
9f9d259
repoint code source
w-zz-w-zz-w Sep 3, 2023
6854916
Merge branch 'master' of https://github.com/ugoogalizer/autoshift
w-zz-w-zz-w Sep 3, 2023
a1f39cf
Extending doco for image building
w-zz-w-zz-w Sep 3, 2023
957953b
new codes
Sep 4, 2023
fd5e9b7
Merge branch 'master' of https://github.com/ugoogalizer/autoshift
Sep 4, 2023
faa581f
added platform to debug output when redreeming
Sep 4, 2023
65a3e9c
split codes by platform as universal aint universal
Sep 7, 2023
d382671
added more debug logging
w-zz-w-zz-w Sep 7, 2023
06962c7
Merge branch 'master' of https://github.com/ugoogalizer/autoshift
w-zz-w-zz-w Sep 7, 2023
942409a
new codes
Sep 7, 2023
97a17ac
new codes
Sep 8, 2023
7a79430
fixed issue that successful was being returned as redeemed
w-zz-w-zz-w Sep 8, 2023
36eb854
Merge branch 'master' of https://github.com/ugoogalizer/autoshift
w-zz-w-zz-w Sep 8, 2023
7102f5c
added gold keys
Sep 9, 2023
80711fa
Merge branch 'master' of https://github.com/ugoogalizer/autoshift
Sep 9, 2023
b70c54b
fixed issue with universal keys only claiming for 1st platform
w-zz-w-zz-w Sep 9, 2023
83191b7
Merge branch 'master' of https://github.com/ugoogalizer/autoshift
w-zz-w-zz-w Sep 9, 2023
0df2eaf
added diamond bl3
Sep 9, 2023
2bb07d4
Merge branch 'master' of https://github.com/ugoogalizer/autoshift
Sep 9, 2023
bb7b2f1
added bl1
Sep 9, 2023
8b2947a
fix bl1 classification issue
Sep 10, 2023
0eca253
ignored vscode workspace
Sep 10, 2023
7034ffb
two new codes
Sep 13, 2023
16281ed
new shift codes added
Sep 15, 2023
bd2698f
two more keys
Sep 15, 2023
edf7703
3 gold keys
Sep 16, 2023
5cd50c8
bl2 code
Sep 19, 2023
fcca77f
1 skeleton key
Sep 22, 2023
73552fb
more codes
Sep 25, 2023
f65c190
auto generated codes, first attempt
Sep 28, 2023
4436ee6
added tiny tina
Sep 29, 2023
e424d89
fix pc to steam and epic
Sep 29, 2023
b5bf343
new codes
Sep 30, 2023
9254641
more codes
Sep 30, 2023
6cb6a41
point autoshift at new json location
Sep 30, 2023
b4a317e
fix typo in container build
Sep 30, 2023
c87069b
fix typo in debug parser
Oct 3, 2023
ea8d9ac
added expired attribute to Key object
Oct 6, 2023
0ebcc2c
bump autoshift version and added docker push commands
Oct 6, 2023
609f76c
shiftcodes moved to alternate repo now
Oct 6, 2023
dfd783b
documented how to use ugoogalizer container/version
Oct 14, 2023
dce4d64
fix link syntax
Oct 14, 2023
4c4a98d
identified #53 in readme.
Oct 14, 2023
b434d69
updated issue and pr link
Oct 14, 2023
3784c42
added nintendo
Nov 11, 2023
d67bfb8
added nintendo to the reference
Nov 12, 2023
9a8e5b6
Merge pull request #1 from zarmstrong/doco-update
zarmstrong Sep 13, 2025
e76cbfc
bl4 changes
zarmstrong Sep 13, 2025
1232ab9
update to my shift repo
zarmstrong Sep 13, 2025
0aff815
Merge pull request #2 from zarmstrong/bl4
zarmstrong Sep 13, 2025
8833840
add dockerhub publish action; update readme
zarmstrong Sep 13, 2025
94b0975
Merge pull request #3 from zarmstrong/bl4
zarmstrong Sep 13, 2025
85a8450
fix image
zarmstrong Sep 13, 2025
8ba9ba8
fix dockerhub stuff
zarmstrong Sep 13, 2025
cfa78c3
fix migration
Sep 17, 2025
bf98133
better output
Sep 17, 2025
c244f6e
fix accidentally removed migrations
Sep 17, 2025
3b88a82
strip whitespace for matching purposes
Sep 17, 2025
055124b
update to use mappings for game:systems
Sep 17, 2025
7bbd425
fix platforms
Sep 17, 2025
1d0e3be
fix platforms
Sep 17, 2025
8d37008
add some debug stuff
Sep 17, 2025
8348f3f
fix dump path
Sep 17, 2025
cb2486e
fix dump path
Sep 17, 2025
95f457d
add migration functions for redeemed status and keys table restructuring
Sep 18, 2025
dccf8b5
refactor migration logic to exclude redeemed rows and update database…
Sep 18, 2025
1aebc75
fix SQL insert statements and clean up unused database initialization…
Sep 18, 2025
c91be04
initialize Database instance in update_keys function
Sep 18, 2025
04aad54
enhance migration function wrapper to accept additional arguments for…
Sep 18, 2025
d5a3d4c
update readme for DB change
Sep 18, 2025
0172968
update README to reflect changes in key redemption tracking and intro…
Sep 18, 2025
cc5e4bd
Merge pull request #4 from zarmstrong/new-table-test
zarmstrong Sep 18, 2025
07c727f
add check for 'code' column existence in migrate_shift_codes function
Sep 21, 2025
7fe556d
add support for overriding SHiFT codes source via CLI argument or env…
Sep 23, 2025
eb57473
refactor: improve readability of shift source assignment and configur…
Sep 23, 2025
92674b7
feat: add profile support for user-specific data management and enhan…
Sep 24, 2025
a15fa44
refactor: enable forward references in type hints and improve type ch…
Sep 24, 2025
cca94d1
refactor: enhance data path handling and improve static choices for C…
Sep 24, 2025
c3e3ba7
Stop tracking data (symlink/dir) and ignore it
XxUnkn0wnxX Sep 24, 2025
48c412d
fix(auto): import Status in redeem; add sys import for --dump-csv
XxUnkn0wnxX Sep 24, 2025
1fe9b0b
Stop tracking symlinked data dir and ignore it
XxUnkn0wnxX Sep 24, 2025
78f186f
fix `--profiles` so it actualy works
XxUnkn0wnxX Sep 24, 2025
bc2d0b3
Remove submodule data
XxUnkn0wnxX Sep 24, 2025
ecd45b6
stop data folder tracking 4 real
XxUnkn0wnxX Sep 24, 2025
31d1d0a
remove annoying flashing thing from query.py
XxUnkn0wnxX Sep 24, 2025
71e6063
fix(auto,query): make profiles actually take effect; banner prints on…
XxUnkn0wnxX Sep 24, 2025
bb17a3a
feat(query): banner shows active profile (when set)
XxUnkn0wnxX Sep 24, 2025
711f61d
feat(security): enhance password handling and debugging options
Sep 24, 2025
a5bdb56
Merge pull request #5 from XxUnkn0wnxX/master
zarmstrong Sep 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish to Docker Hub

on:
push:
branches:
- master
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/autoshift:latest
${{ secrets.DOCKERHUB_USERNAME }}/autoshift:${{ github.sha }}
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ instance/

# Scrapy stuff:
.scrapy
*.orig

# Sphinx documentation
docs/_build/
Expand Down Expand Up @@ -123,4 +124,12 @@ dmypy.json
keys.db

# notebooks folder
notebooks/
notebooks/

# vscode
*.code-workspace


# Ignore data folder
/data
data*
2 changes: 1 addition & 1 deletion dockerfile → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.10-slim

ENV SHIFT_GAMES='bl3 blps bl2 bl1' \
ENV SHIFT_GAMES='bl4 bl3 blps bl2 bl1' \
SHIFT_PLATFORMS='epic steam' \
SHIFT_ARGS='--schedule' \
TZ='America/Chicago'
Expand Down
Loading