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
Ralf Vogler
2eaf6f0598
.eslintignore -> .gitignore, no-unused-vars: ignore args starting with _
...
https://eslint.org/docs/latest/rules/no-unused-vars#argsignorepattern
https://eslint.org/docs/latest/rules/no-undef
2023-11-07 17:57:10 +01:00
Ralf Vogler
dec0b519a5
Merge pull request #228 from 4n4n4s/ci
...
Sonarqube support with ESLint
2023-11-07 17:36:20 +01:00
Ralf Vogler
6113ea4b8d
Merge branch 'main' into ci
2023-11-07 17:32:00 +01:00
Ralf Vogler
798b130c92
fix vscode problem in jsconfig with module vs. moduleResolution
...
Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.ts
Specify what module code is generated.
See more: https://www.typescriptlang.org/tsconfig#module
2023-11-07 16:45:17 +01:00
Ralf Vogler
e5935faa13
sonarcloud fixes
2023-11-07 15:20:58 +01:00
Ralf Vogler
b5ef699f4f
sort .dockerignore
2023-11-07 12:03:15 +01:00
Ralf Vogler
a6b9ec9609
sonarcloud fix reject(error)
...
https://sonarcloud.io/project/issues?cleanCodeAttributeCategories=CONSISTENT&resolved=false&id=vogler_free-games-claimer&open=AYupZi4O_aoWVkCdISRb&tab=code
2023-11-07 12:02:33 +01:00
Ralf Vogler
a62aa8c0c8
sonarcloud fix docker: Remove cache after installing packages
...
https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=vogler_free-games-claimer&open=AYupZi3__aoWVkCdISRI
https://sonarcloud.io/organizations/vogler/rules?open=docker%3AS6587&rule_key=docker%3AS6587&tab=how_to_fix
https://askubuntu.com/questions/3167/what-is-difference-between-the-options-autoclean-autoremove-and-clean
2023-11-07 11:53:29 +01:00
Ralf Vogler
e192365b48
can't have comment in yml list?
2023-11-07 11:39:08 +01:00
Ralf Vogler
92ce3d405d
run docker workflow if its defition changed
2023-11-07 11:36:17 +01:00
Ralf Vogler
584130f5d1
edits for #229 , build image for PRs from forks?
2023-11-07 11:31:14 +01:00
Ralf Vogler
5fda138d8d
Merge pull request #229 from 4n4n4s/docker
...
Allow forks to publish docker images
2023-11-07 11:16:24 +01:00
Ralf Vogler
11db31ea46
Merge branch 'xbox-gold'
...
https://github.com/vogler/free-games-claimer/pull/160
2023-11-06 19:40:18 +01:00
Ralf Vogler
0ab9935fb5
eg: catch timeout in case there are no free games available, #210
2023-11-06 19:22:43 +01:00
Ralf Vogler
28a1e42cc4
npm package*.json license MIT -> AGPL-3.0-only
2023-11-06 19:15:09 +01:00
Ralf Vogler
32cd0d8990
Create LICENSE - AGPL-3.0
...
https://choosealicense.com/licenses/agpl-3.0/
2023-11-06 19:12:16 +01:00
Ralf Vogler
b99a154267
Revert "workaround for recordVideo broken in Playwright 1.36"
...
This reverts commit 13b2917dd0 .
Fine to do after upgrade to 1.39 in 75f7d77445 .
which included https://github.com/microsoft/playwright/issues/27086
2023-11-02 16:26:45 +01:00
Ralf Vogler
75f7d77445
upgrade playwright-firefox 1.38.1 -> 1.39.0
2023-11-02 16:23:46 +01:00
Ralf Vogler
bf870919a6
upgrade to lowdb 6.1.1 and use JSONPreset
...
See example in https://github.com/typicode/lowdb/releases/tag/v6.1.0
2023-11-02 16:18:48 +01:00
Ralf Vogler
280ab70975
README.md: recommend to run without docker until #183 is fixed
2023-11-02 16:01:08 +01:00
4n4n4s
1dbe2f1457
Allow forks to create builds and fix failing build
2023-10-27 11:37:32 +00:00
Ralf Vogler
4137bb5569
DEBUG=1 as alternative to PWDEBUG=1 (also shows Playwright debugger)
2023-10-26 15:01:04 +02:00
Ralf Vogler
a374d48345
eg: fix login (email/password split), closes #236
2023-10-25 19:48:58 +02:00
Ralf Vogler
d73a523fe7
eg: fix sign in, user displayname, #236
2023-10-25 19:44:52 +02:00
Ralf Vogler
04787909c7
eg: waitFor order confirmation to be attached instead of visible, #233
2023-10-13 00:03:11 +02:00
Ralf Vogler
ad2301c3fd
pg: eg: fix detecting successful claim
2023-10-10 22:42:38 +02:00
Ralf Vogler
a8ab989a7f
pg: external: check for 'Link account' besides 'Link game account'
2023-10-10 22:12:59 +02:00
Ralf Vogler
9fc68b881f
pg: legacygames: don't wait for response, just text
2023-10-10 22:01:23 +02:00
4n4n4s
0040d9d96c
Sonarqube support with ESLint
2023-09-26 19:12:09 +00:00
Ralf Vogler
d318a57be1
ncu -u: playwright-firefox ^1.38.0 → ^1.38.1
2023-09-25 09:35:30 +02:00
Ralf Vogler
9ebd15f204
fix log text if $VNC_PASSWORD is set, fixes #223
2023-09-23 11:02:08 +02:00
Ralf Vogler
41f1f95509
PW: replace deprecated type() with pressSequentially() for OTPs
2023-09-18 14:02:15 +02:00
Ralf Vogler
840d35c2d2
ncu -u: playwright-firefox ^1.37.1 → ^1.38.0
2023-09-18 13:54:40 +02:00
Ralf Vogler
13b2917dd0
workaround for recordVideo broken in Playwright 1.36
...
Recording videos with relative path as in docs was broken for Firefox.
Issue: https://github.com/microsoft/playwright/issues/27086
Can be reverted after PR is available in release: https://github.com/microsoft/playwright/pull/27099
2023-09-18 13:03:04 +02:00