Ralf Vogler
|
0832ae57f5
|
run eslint --fix .
|
2023-11-08 01:16:49 +01:00 |
|
Ralf Vogler
|
e4e4f2eafa
|
fix eslint errors
|
2023-11-07 18:10:22 +01:00 |
|
Ralf Vogler
|
e5935faa13
|
sonarcloud fixes
|
2023-11-07 15:20:58 +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
|
b748460b73
|
disable Playwright's handleSIGINT and close context ourselves to save recordings also on SIGINT
|
2023-09-18 12:58:20 +02:00 |
|
Ralf Vogler
|
d8e2093a0d
|
pg: INTERACTIVE=1 to confirm each claim or skip it
|
2023-09-05 15:56:24 +02:00 |
|
Ralf Vogler
|
d4d7ee3281
|
fix indent
|
2023-08-28 00:47: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
|
b5ead8ea21
|
SCREENSHOTS_DIR=0 to disable screenshots, fixes #172
|
2023-07-20 16:10:50 +02:00 |
|
Ralf Vogler
|
bb51fd8065
|
use local time instead of UTC, migrate.js, closes #131
Run `node migrate.js localtime data/*.json` to convert
existing `time` entries from UTC to your local timezone.
|
2023-04-28 00:11:29 +02:00 |
|
Ralf Vogler
|
9435ff6edb
|
fix #97: NOTIFY_TITLE in quotes, otherwise fails on spaces
|
2023-03-17 10:19:34 +01:00 |
|
Ralf Vogler
|
862fd20d5b
|
mention open issue with Enquirer: must cancel prompt with Escape instead of Ctrl-C
|
2023-02-24 13:21:55 +01:00 |
|
Ralf Vogler
|
73a7cffd47
|
await notify before process.exit, #69
|
2023-02-24 00:08:35 +01:00 |
|
Ralf Vogler
|
114631da4d
|
add NOTIFY_TITLE - Optional title for notifications, e.g. Pushover, #69
|
2023-02-23 23:35:47 +01:00 |
|
Ralf Vogler
|
38c5402df0
|
exitCode should be 130 instead of 1 on SIGINT
https://unix.stackexchange.com/questions/386836/why-is-doing-an-exit-130-is-not-the-same-as-dying-of-sigint
|
2023-02-22 10:26:32 +01:00 |
|
Ralf Vogler
|
efeccf9493
|
use enquirer instead of prompts, use plugin for cancel after timeout
|
2023-02-21 23:25:18 +01:00 |
|
Ralf Vogler
|
8c2ac3b6d0
|
add LOGIN_TIMEOUT (180s) for PW, but prompts still wait forever
|
2023-02-21 21:21:55 +01:00 |
|
Ralf Vogler
|
e2b07dc1e6
|
BROWSER_DIR for multiple profiles or testing, SCREENSHOTS_DIR, closes #12
|
2023-02-16 16:25:46 +01:00 |
|
Ralf Vogler
|
eb17a49628
|
extract prompt into util.js
|
2023-02-03 16:03:01 +01:00 |
|
Ralf Vogler
|
72a61458fc
|
notify: escapeHtml for titles
|
2023-01-25 20:56:35 +01:00 |
|
Ralf Vogler
|
2f0961b1b3
|
NOTIFY to set notification services
|
2023-01-25 17:50:26 +01:00 |
|
Ralf Vogler
|
89ba21d2cb
|
update lowdb
|
2022-12-17 00:12:59 +01:00 |
|
Ralf Vogler
|
e1cd3117b6
|
fix #33
|
2022-11-12 13:43:27 +01:00 |
|
Ralf Vogler
|
ac758d39e4
|
epic-games: migrateDb: rm .runs, .claimed[] -> .[user][game_id], closes #27
If you'd like to keep the .runs data: `cp -a data/epic-games.{json, v1.json}`
Objects also have insertion order for non-number strings, so there's not need for a list:
https://stackoverflow.com/questions/5525795/does-javascript-guarantee-object-property-order
|
2022-10-06 16:31:46 +02:00 |
|
Ralf Vogler
|
61af4e35f6
|
util.datetimeLocal
|
2022-10-06 14:20:50 +02:00 |
|
Ralf Vogler
|
bf647936eb
|
vscode format dode
|
2022-09-26 20:08:52 +02:00 |
|
Ralf Vogler
|
2791112fd6
|
sanitizeFilename -> filenamify, use for datetime
|
2022-09-16 15:34:28 +02:00 |
|
Ralf Vogler
|
4fcbd6be6a
|
comment: use filenamify?
|
2022-09-11 22:08:26 +02:00 |
|
Ralf Vogler
|
f888981415
|
extract sanitizeFilename
|
2022-07-14 17:04:00 +02:00 |
|
Ralf Vogler
|
18de5fdfa8
|
use lowdb for data/prime-gaming.json
|
2022-07-13 15:49:03 +02:00 |
|
Ralf Vogler
|
59450ed05c
|
mv userDataDir data/browser; mv screenshots data/
|
2022-05-05 23:49:55 +02:00 |
|
Ralf Vogler
|
3b3289dddf
|
upgrade to ES6 modules and top-level await, add jsconfig.json with es2022
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
https://code.visualstudio.com/docs/languages/jsconfig
|
2022-02-24 18:27:25 +01:00 |
|
Ralf Vogler
|
9bb548dc3e
|
pull out stealth into util
|
2022-02-24 17:32:32 +01:00 |
|
Ralf Vogler
|
747a2a5621
|
claimer for Amazon Prime Gaming (no ext stores)
|
2022-01-13 20:04:13 +01:00 |
|