Commit graph

490 commits

Author SHA1 Message Date
Ralf Vogler
d4d7ee3281 fix indent 2023-08-28 00:47:52 +02:00
Ralf Vogler
c211472d0c docker: try GitHub Actions cache
https://docs.docker.com/build/ci/github-actions/cache/#github-cache
2023-08-27 23:59:30 +02:00
Ralf Vogler
f528fbfd30 docker: more human-readable format for date $NOW 2023-08-27 23:41:19 +02:00
Ralf Vogler
d7949fb9dd can't use secrets in if of workflow step? 2023-08-27 23:39:52 +02:00
Ralf Vogler
8a010dbcc7 docker: pass in build-args, add $NOW 2023-08-27 23:32:56 +02:00
Ralf Vogler
2eb17a1419 docker: show version via $COMMIT_SHA (and $BRANCH if not "main") 2023-08-27 18:33:27 +02:00
Ralf Vogler
24a9f23211
Merge pull request #193 from 4n4n4s/main-1
Update Readme for restart with sleep in docker compose and Apprise with Telegram
2023-08-27 15:44:38 +02:00
Ralf Vogler
682c651224 docker: use OCI labels
https://github.com/opencontainers/image-spec/blob/main/annotations.md
https://docs.docker.com/engine/reference/builder/#label

Before:
```console
$ docker image inspect --format='{{json .Config.Labels}}' ghcr.io/vogler/free-games-claimer | jq
{
  "org.opencontainers.image.ref.name": "ubuntu",
  "org.opencontainers.image.version": "22.04"
}
```

After:
```console
$ docker image inspect --format='{{json .Config.Labels}}' ghcr.io/vogler/free-games-claimer | jq
{
  "org.opencontainers.image.base.name": "ubuntu:jammy",
  "org.opencontainers.image.description": "Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG",
  "org.opencontainers.image.name": "free-games-claimer",
  "org.opencontainers.image.ref.name": "",
  "org.opencontainers.image.revision": "",
  "org.opencontainers.image.source": "https://github.com/vogler/free-games-claimer",
  "org.opencontainers.image.title": "free-games-claimer",
  "org.opencontainers.image.url": "https://github.com/vogler/free-games-claimer",
  "org.opencontainers.image.version": "latest"
}
```
2023-08-26 10:47:18 +02:00
Ralf Vogler
c09d20766c dependabot daily -> weekly, may want to customize commit-message 2023-08-25 21:50:17 +02:00
Ralf Vogler
70b5182bed same as before, just ignore .github/** and then include docker.yml 2023-08-25 21:43:57 +02:00
Ralf Vogler
a7d045f0e2 ignore dependabot.yml in workflows/docker.yml 2023-08-25 21:40:28 +02:00
Ralf Vogler
56d8c2d188
Merge pull request #194 from 4n4n4s/main
Create dependabot.yml
2023-08-25 21:32:06 +02:00
4n4n4s
a3adaae99f Fixed README.md 2023-08-25 16:30:04 +00:00
4n4n4s
66c12b8ea2
Create dependabot.yml 2023-08-25 18:06:31 +02:00
4n4n4s
da23bc2f92
Update README.md
Update documentation
2023-08-25 17:42:52 +02:00
Ralf Vogler
6a7cca31a4 update dependencies via ncu -u, lowdb: pass defaultData
dotenv                          ^16.0.3  →  ^16.3.1
  enquirer                         ^2.3.6  →   ^2.4.1
  lowdb                            ^5.1.0  →   ^6.0.1
  playwright-firefox              ^1.31.0  →  ^1.37.1
  puppeteer-extra-plugin-stealth  ^2.11.1  →  ^2.11.2

https://github.com/typicode/lowdb/releases/tag/v6.0.0
> Require defaultData parameter for Low and LowSync constructors to improve TypeScript experience
2023-08-24 13:14:39 +02:00
Ralf Vogler
3d1168f653 pg: external: split loop for URLs to avoid issue with changed elementHandles (Page.adoptNode) 2023-08-23 00:51:19 +02:00
Ralf Vogler
40bcf1c8a2 pg: status 'claimed' (not just 'claimed and redeemed') for external stores 2023-08-23 00:09:27 +02:00
Ralf Vogler
7551a6ca96 pg: fixup e2e28301e6? 2023-08-19 17:04:33 +02:00
Ralf Vogler
e2e28301e6 pg: fix #185? 2023-08-19 16:35:58 +02:00
Ralf Vogler
e794a3306f pg: dlc: grouped list of dlcs per unlinked store, #180 2023-08-17 17:02:47 +02:00
Ralf Vogler
5c8f8fc3fd pg: dlc: log url of dlc if account not linked, #180 2023-08-17 16:44:59 +02:00
Ralf Vogler
86832e7fe9 pg: dlc: log url of dlc if account not linked, #180 2023-08-17 16:43:47 +02:00
Ralf Vogler
d0761dea26 pg: dlc: account linking: mention store, close #180 2023-08-17 16:37:05 +02:00
Ralf Vogler
490c4c0788 don't ignore .github, only issue templates 2023-08-17 16:31:43 +02:00
Ralf Vogler
13def8ba18 build on every push or PR to main 2023-08-17 16:30:12 +02:00
Ralf Vogler
08fc59520c update docker/build-push-action v3 -> v4 2023-08-17 16:29:08 +02:00
Ralf Vogler
f89b4a6a36 ue: mention new assets to claim every first Tuesday of a month 2023-08-10 14:37:00 +02:00
Ralf Vogler
b5ead8ea21 SCREENSHOTS_DIR=0 to disable screenshots, fixes #172 2023-07-20 16:10:50 +02:00
Ralf Vogler
22f673282b pg: fix a90f90afc0 2023-07-13 11:30:48 +02:00
Ralf Vogler
a90f90afc0 pg: PG_REDEEM: only pause if DEBUG=1
Fixes https://github.com/vogler/free-games-claimer/issues/5#issuecomment-1527063819
2023-07-13 11:28:18 +02:00
Ralf Vogler
2e8a731573 pg: update selectors for internal/external games, fixes #164 2023-07-13 10:56:12 +02:00
Ralf Vogler
04bd56cd77 pg: legacy games: status = claimed and redeemed 2023-07-06 16:48:07 +02:00
Omair
8c6ff57054 xbox: update readme and dockerfile with xbox info/scripts 2023-06-26 15:49:27 -04:00
Omair
a7dcfe72cc xbox: add implementation for xbox games with gold 2023-06-26 15:48:58 -04:00
Omair
acc337a4f9 xbox: add config values 2023-06-26 15:48:21 -04:00
Ralf Vogler
f0e15b5c7c pg: fix #158 - page for gog (and ?) changed (button, store, code)
The claim page for Legacy Games is still unchanged and works with the
old code.
2023-06-23 01:24:06 +02:00
Ralf Vogler
85513031f2 pg: external: fix lost elementHandle error due to navigation
elementHandle.$: Protocol error (Page.adoptNode)
2023-06-23 01:21:42 +02:00
Ralf Vogler
0b9d5d0b63 pg: comments 2023-06-22 17:16:35 +02:00
Ralf Vogler
7e4770b846 ue: notify on 'Price is not 0!' + ask to report, #44 2023-06-02 00:52:11 +02:00
Ralf Vogler
d3d22b1582 ue: wait 2s before checking cart, #44 2023-06-02 00:47:48 +02:00
Ralf Vogler
2ceccdae6b
ue: add as experimental to README.md, #44 2023-06-02 00:30:31 +02:00
Ralf Vogler
f906bef2a8 ue: fix 'Sign In'/user detection, #44 2023-06-02 00:14:21 +02:00
Ralf Vogler
00e213cf50 ue: support RECORD=1 2023-06-02 00:11:10 +02:00
Ralf Vogler
feadfc5acf pg: redeem: gog: status = 'claimed and redeemed' 2023-05-18 18:02:11 +02:00
Ralf Vogler
7fb872608d pg: dlc: try/catch for each dlc, #55 2023-05-18 17:32:02 +02:00
Ralf Vogler
0d074d0397 pg: dlc: scroll to end of page until all are loaded, #55 2023-05-18 16:03:24 +02:00
Ralf Vogler
368229be09 pg: screenshot prep only if needed 2023-05-17 11:35:10 +02:00
Ralf Vogler
8ee63c7a35 pg: support RECORD=1 2023-05-17 11:29:45 +02:00
Ralf Vogler
819e4cc57e pg: PG_REDEEM tested legacy games successfully, #5 2023-05-17 11:28:31 +02:00