Commit graph

596 commits

Author SHA1 Message Date
Ralf Vogler
56cfab6e21
Update README.md 2023-12-28 11:28:23 +01:00
Ralf Vogler
fb8f38706a
mention pipx, #276 2023-12-27 10:22:54 +01:00
Ralf Vogler
a9e20928ee pg: fix util.js -> src/util.js
64676795d1 (r135743209)
2023-12-26 18:56:36 +01:00
Ralf Vogler
b68021b8e8 docker: firefox: overwrite user.js instead of appending on every run, #261 2023-12-26 18:01:32 +01:00
Ralf Vogler
baeaaa64f8 docker: firefox: privacy.resistFingerprinting fixes #261
https://github.com/vogler/free-games-claimer/issues/261#issuecomment-1868385830

Docker container will ask/fill email, challenge captcha, ask/fill password, challenge captcha again.
2023-12-26 17:52:18 +01:00
Ralf Vogler
105f6f414a eg: only ask for password after email submit -> notice captcha before 2023-12-26 17:49:51 +01:00
Ralf Vogler
64676795d1 mv {config,migrate,util,version}.js src/ 2023-12-26 17:09:14 +01:00
Ralf Vogler
6b9420804b test to show enquirer's sigint issue 2023-12-26 16:58:14 +01:00
Ralf Vogler
5a4f07ce70 mv notify-test.js test/notify.js 2023-12-26 16:57:47 +01:00
Ralf Vogler
09a364c67d extract chrome-specific comments/args into util.js/launchChromium 2023-12-26 16:48:25 +01:00
Ralf Vogler
4518914bfd
Update FUNDING.yml 2023-12-24 17:04:37 +01:00
Ralf Vogler
377ee736cb
Update FUNDING.yml 2023-12-24 16:29:05 +01:00
Ralf Vogler
2dec0080d9
Update FUNDING.yml 2023-12-24 16:23:01 +01:00
Ralf Vogler
a2af1ccd09
Update FUNDING.yml 2023-12-24 16:22:35 +01:00
Ralf Vogler
e66d10574d
Update FUNDING.yml 2023-12-24 16:21:15 +01:00
Ralf Vogler
68b66444ca eg: set cookie to void 'please provide your date of birth', closes #275 2023-12-24 15:52:59 +01:00
Ralf Vogler
2a19100601
Update FUNDING.yml 2023-12-24 15:39:38 +01:00
Ralf Vogler
5343535429
Create FUNDING.yml 2023-12-24 01:10:17 +01:00
Ralf Vogler
ace4ef8303 pg: DLC: ignore timeout if there is no code
https://github.com/vogler/free-games-claimer/issues/208#issuecomment-1868317276
2023-12-23 18:16:30 +01:00
Ralf Vogler
e078a1540a
Merge pull request #274 from Primajin/#208-prime-gaming
Use `.tw-button` css class over `button` html element selector
2023-12-23 15:23:33 +01:00
Jannis Hell
093ed813c6
Update prime-gaming.js
account for more than one account link button
2023-12-23 11:55:27 +01:00
Jannis Hell
e06ad3a27f
use tw-button css class over button html element selector 2023-12-22 16:40:02 +01:00
Ralf Vogler
9f97805517 debug navigator.{userAgent, platform} 2023-12-21 16:38:12 +01:00
Ralf Vogler
30957d63d0 DEBUG_NETWORK=1 to log network requests and responses instead of DEBUG && RECORD 2023-12-21 16:16:48 +01:00
Ralf Vogler
19e9bb9cfc eg: changed: move password fill and fix captcha locators, #260 2023-12-21 01:55:54 +01:00
Ralf Vogler
bdc305aa83 reorder package.json 2023-12-21 01:53:47 +01:00
Ralf Vogler
e18de7e640
Merge pull request #249 from Primajin/patch-1
prime-gaming: 'Claim now' -> 'Claim' for external/DLC
2023-12-21 01:19:20 +01:00
Jannis Hell
f4270e176f Update prime-gaming.js
The button was renamed to "Claim" instead of "Claim now" this causes / fixes #208
2023-12-20 20:55:14 +01:00
Ralf Vogler
8bf36a2158 specify engines.node >=15 for ||=, #264 2023-12-19 12:27:55 +01:00
Ralf Vogler
3c15252d8b pg: use chalk to color game codes blue, closes #250 2023-12-19 12:06:15 +01:00
Ralf Vogler
76597f4315 eg: include link to game in captcha notification, closes #259
TODO use purchaseURL from https://github.com/vogler/free-games-claimer/pull/130
2023-12-19 11:52:35 +01:00
Ralf Vogler
9c89bf06a4 npm run lint = npx eslint . 2023-12-19 11:34:00 +01:00
Ralf Vogler
36fe60a2b1 vscode update changed config 2023-12-19 11:33:38 +01:00
Ralf Vogler
0f549285b9
Merge pull request #253 from vogler/dependabot/github_actions/actions/setup-node-4
build(deps): bump actions/setup-node from 3 to 4
2023-12-19 11:30:59 +01:00
Ralf Vogler
544eff8a23 ncu -u: playwright-firefox 1.40.0 -> 1.40.1, eslint 2023-12-19 11:25:21 +01:00
Ralf Vogler
5919d37efa ncu -u: playwright-firefox 1.39.0 -> 1.40.0, eslint 2023-11-23 16:16:26 +01:00
dependabot[bot]
324f6bffe7
build(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 06:01:59 +00:00
Ralf Vogler
4231b7dd28 gog: don't wait for screenshot to not be loading, closes #240 2023-11-09 02:43:43 +01:00
Ralf Vogler
3ddf1720bb notify: use execFile with arg array instead of exec to avoid shell-escape, fixes #239
Also proper fix for https://github.com/vogler/free-games-claimer/pull/167

https://www.npmjs.com/package/shell-escape
https://stackoverflow.com/questions/1779858/how-do-i-escape-a-string-for-a-shell-command-in-node
https://nodejs.org/api/child_process.html#child_processexecfilefile-args-options-callback
2023-11-09 02:34:17 +01:00
Ralf Vogler
a7cc68b6db ue: login: fix #248, similar to #236
Commits for #236:
d73a523fe7
a374d48345
2023-11-09 01:41:01 +01:00
Ralf Vogler
739fb0dbfe vscode workspace settings for formatOnSave with eslint --fix using flat config
https://eslint.style/guide/faq#vs-code
2023-11-08 02:30:21 +01:00
Ralf Vogler
110b2ea4c6 eslint: migrate to new flat config (.eslintrc.cjs -> eslint.config.js)
https://eslint.org/docs/latest/use/configure/configuration-files-new
https://eslint.org/docs/latest/use/configure/migration-guide
2023-11-08 02:28:34 +01:00
Ralf Vogler
c5f75e06c8 gha: sonar: disable shallow clone (irrelevant) to get rid of warning 2023-11-08 01:36:35 +01:00
Ralf Vogler
d4685ff370 gha: sonar: install dev deps for eslint plugins 2023-11-08 01:32:20 +01:00
Ralf Vogler
0832ae57f5 run eslint --fix . 2023-11-08 01:16:49 +01:00
Ralf Vogler
011eddf97a eslint: enable most stylistic rules
https://eslint.style/packages/js
2023-11-08 01:02:43 +01:00
Ralf Vogler
efe4faab3e
add sonarcloud badge for code smells 2023-11-07 18:24:32 +01:00
Ralf Vogler
e4e4f2eafa fix eslint errors 2023-11-07 18:10:22 +01:00
Ralf Vogler
6a34cb541d format sonar.yml 2023-11-07 18:03:54 +01:00
Ralf Vogler
5083ea408d ncu -u: eslint 8.50.0 -> 8.53.0 2023-11-07 17:58:36 +01:00