nocci
41425681e2
fix: move workflow to correct directory
2026-03-07 13:18:25 +00:00
nocci
5814f5a5d5
ci(workflow): add comment to build workflow
2026-03-07 13:15:04 +00:00
nocci
b85c326211
chore(config): update ESLint environment to support browser globals
...
Added `browser: true` environment and declared `window` and `navigator` as
readonly globals to support epic-games.js which uses browser APIs.
2026-03-07 12:49:45 +00:00
nocci
ddb37b5c82
ci(workflow): simplify Node.js installation and optimize Docker steps
...
Replace multi-step Node.js and npm install with single Alpine package install,
and simplify Docker builder setup by switching from GitHub Action to direct
CLI installation via apk. Also enable network debugging tools for better
troubleshooting in the CI environment.
2026-03-07 12:45:30 +00:00
nocci
09d854ffb1
Fix Forgejo workflow: use GITEA_* variables instead of github.*
2026-03-06 15:43:55 +00:00
nocci
96df8cb3d4
refactor: migrate ESLint configuration to flat config and remove redundant rule files
...
- replace legacy .eslintrc files with flat eslint.config.js
- consolidate eslint globals for improved code clarity
- enable prefer-const and no-unused-vars off in *.js for flexibility
- remove unused import statements and redundant eslint directives from epic-games.js and aliexpress.js
- standardize function parameter syntax to arrow with parentheses omitted where safe
- add comments marking unused but retained functions for reference
2026-03-06 15:38:58 +00:00
nocci
728b0c734b
refactor[epic-games]: migrate to GraphQL API and modularize authentication logic
...
This commit refactors epic-games.js to use the GraphQL API instead of the legacy promotions endpoint for retrieving free games. Key architectural improvements include:
- Added modular authentication module (device-auths.ts) supporting persistent device auth tokens
- Introduces cookie management module (cookie.ts) for persistent session handling
- Extracts GraphQL query structures and API endpoints into constants.ts
- Implements multiple fallback strategies: device auth login, token exchange, and fallback to standard login
- Adds support for both GraphQL and promotions-based game discovery
- Streamlines claim process with improved tracking and error handling
- Removes legacy selectors and redundant logic
Additionally, updates package.json to include TypeScript and reorganizes dependency order for better maintainability.
2026-03-06 15:26:26 +00:00
nocci
0d35a5ee85
test
2026-01-08 16:02:10 +00:00
nocci
c5a12aede3
💄 style(ci): adjust indentation in build workflow
...
- fix indentation for sonar job to align with yaml format standards
2026-01-08 15:56:42 +00:00
nocci
d1d6ba58b7
👷 ci(build): enhance sonar job in build workflow
...
- add container support with node:20-alpine for sonar job
- consolidate git and utility installation steps
- include sonarqube-scanner installation for improved analysis
2026-01-08 15:55:20 +00:00
nocci
7df5c2e2fe
💄 style(epic-claimer): remove unnecessary code
...
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- delete unused screenshot function for cleaner code structure
2026-01-08 15:49:56 +00:00
nocci
c466458d41
💄 style(epic-claimer): remove unnecessary newline
...
build-and-push / lint (push) Failing after 8s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- delete extra newline for cleaner code structure
2026-01-08 15:49:15 +00:00
nocci
866f06e505
✨ feat(helper): add screenshot helper function
...
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- introduce a new screenshot helper function for path resolution
- enhance code readability by organizing screenshot path management
2026-01-08 15:47:59 +00:00
nocci
370e3db206
🔧 chore(workflows): add screenshot to ESLint globals
...
build-and-push / lint (push) Successful in 8s
build-and-push / sonar (push) Failing after 0s
build-and-push / docker (push) Has been skipped
- add screenshot as a readonly global variable to ESLint configuration
♻️ refactor(epic-games): improve path resolution for screenshots
- replace resolve with path.resolve for better path management
2026-01-08 15:43:30 +00:00
nocci
af90aa7c42
♻️ refactor(epic-claimer): enhance screenshot path resolution
...
build-and-push / lint (push) Successful in 7s
build-and-push / sonar (push) Failing after 0s
build-and-push / docker (push) Has been skipped
- improve screenshot path by using path.resolve for better cross-platform compatibility
- organize screenshots into a structured directory hierarchy
2026-01-08 15:27:19 +00:00
nocci
fd0fc4e981
♻️ refactor(code): remove unused code and clean up
...
build-and-push / lint (push) Failing after 8s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- remove unused screenshot helper function
- remove unnecessary empty arguments from launch options
- add spacing for readability in async functions
2026-01-08 15:20:21 +00:00
nocci
58282897b5
✨ feat(epic-claimer): implement OAuth and game claiming enhancements
...
build-and-push / lint (push) Successful in 8s
build-and-push / sonar (push) Failing after 0s
build-and-push / docker (push) Has been skipped
- add OAuth device flow for secure authentication
- implement automatic and manual login handling
- enhance game claiming process with error handling and notifications
♻️ refactor(epic-claimer): remove unused code and improve structure
- remove unused resolve function
- restructure authentication and login logic for clarity
📝 docs(epic-claimer): update comments for better code understanding
- clarify function purposes and steps in comments
- add detailed explanations for new authentication flow
2026-01-08 15:14:58 +00:00
nocci
a5e5d8e5e8
♻️ refactor(epic-claimer): simplify epic claimer logic
...
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- remove unused functions and comments for clarity
- streamline login logic and error handling
- prepare for future enhancements with modular function placeholders
2026-01-08 15:02:11 +00:00
nocci
2dc018f2d6
✅ test(epic-claimer-new): add comprehensive tests for epic games claimer
...
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- implement extensive testing for new epic games claiming functionality
- ensure robust coverage of API interactions, OAuth flows, and game claiming logic
✨ feat(epic-claimer-new): introduce new epic games claiming logic
- add new logic for claiming free games via API with OAuth device flow
- implement automatic cookie reuse and manual login fallback
- enhance error handling and logging for improved debugging
♻️ refactor(epic-claimer-new): optimize code structure and modularity
- refactor functions for better code organization and readability
- modularize authentication and game claiming processes for reusability
🔧 chore(eslintrc): update eslint configuration
- add stylistic plugins and rules for better code consistency
- configure globals and parser options for modern JavaScript compatibility
2026-01-08 14:59:01 +00:00
nocci
45ad444065
📝 docs(README): fix markdown formatting issues
...
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- fix misplaced markdown headings and lists
- correct section organization for better readability
2026-01-08 14:47:29 +00:00
nocci
dc54be10e8
✨ feat(epic-claimer): add new imports and constants
...
build-and-push / lint (push) Failing after 10s
build-and-push / docker (push) Has been skipped
build-and-push / sonar (push) Has been skipped
- import axios, playwright-firefox, otplib, and node modules for enhanced functionality
- add utility imports from local modules for better code organization
- define URL_CLAIM, COOKIES_PATH, and BEARER_TOKEN_NAME constants for clearer code structure
2026-01-08 13:23:01 +00:00
nocci
712f1caa0e
📦 build(workflows): add eslint configuration for workflows
...
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- introduce .eslintrc.json file for ESLint settings
- configure environment, parser options, and rules for linting
✅ test(workflows): update build workflow with eslint integration
- integrate ESLint configuration into GitHub Actions workflow
- ensure lint job utilizes the new .eslintrc.json settings
2026-01-08 13:18:45 +00:00
nocci
db77892ea9
🔧 chore(ci): update remote URL configuration in build workflow
...
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- add REPO_URL environment variable for consistent repository URL usage
- update git remote add commands to use the new REPO_URL variable for clarity
2026-01-08 13:14:19 +00:00
nocci
f7822786df
test
build-and-push / lint (push) Failing after 17s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
2026-01-08 13:11:59 +00:00
nocci
c8624e7ceb
🔧 chore(workflows): replace actions/checkout with manual git checkout
...
build-and-push / lint (push) Failing after 18s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- implement manual git checkout steps in build workflow
- remove actions/checkout usage to customize git operations
2026-01-08 13:08:54 +00:00
nocci
b9280ef8bf
💄 style(workflow): remove excessive blank lines in build.yml
...
build-and-push / lint (push) Failing after 52s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- clean up excessive blank lines for improved readability and maintenance
2026-01-08 13:01:30 +00:00
nocci
3746f9be49
📦 build(ci): enhance build workflow with container and cleanup
...
- add node:20-alpine container for consistent linting environment
- remove duplicate docker setup and login steps
- streamline job steps for better readability and maintenance
2026-01-08 13:00:05 +00:00
nocci
7b5e819528
🔧 chore(ci): update build workflow configuration
...
- remove container setup from lint job
- switch to manual Node.js installation
- add detailed sonar-scanner setup and execution steps
- introduce docker job with buildx setup and registry login
2026-01-08 12:58:17 +00:00
nocci
c067ad71fe
update
2026-01-08 12:56:49 +00:00
nocci
2140139fc9
♻️ refactor(auth): streamline login process
...
build-and-push / lint (push) Failing after 1s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- simplify login logic by removing unused code
- improve error handling and logging during login
- add retry mechanism for login attempts
🔧 chore(gitignore): update ignore file
- add .continue to .gitignore to prevent accidental commits of temporary files
2026-01-08 12:42:33 +00:00
nocci
37de92c92e
fix: handle epic login captcha manually in legacy/new flows
build-and-push / lint (push) Failing after 1s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
2025-12-31 13:50:14 +00:00
nocci
728d08e551
fix: retry continue/submit on epic password and otp steps
2025-12-31 13:33:49 +00:00
nocci
ec69bf1a0c
fix: click continue button on epic email step in new claimer
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 2m51s
2025-12-31 13:32:39 +00:00
nocci
2592de2285
fix: handle epic MFA code inputs with multiple fields
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m13s
2025-12-31 13:28:30 +00:00
nocci
943fdbbf0c
fix: check remember-me and handle split email/password epic login
2025-12-31 13:27:59 +00:00
nocci
f5e404329f
chore: fix lint extra parens in new epic claimer
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m13s
2025-12-31 13:21:51 +00:00
nocci
1c34648112
fix: detect cloudflare challenge and wait for manual solve in new epic claimer
build-and-push / lint (push) Failing after 4s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
2025-12-31 13:18:28 +00:00
nocci
1a34d8f0e4
fix: force epic login page and autofill password when email prefilled
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 13s
build-and-push / docker (push) Successful in 1m13s
2025-12-31 13:13:16 +00:00
nocci
5c7a945be0
fix: fall back to manual login when epic device code api fails
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 11s
build-and-push / docker (push) Successful in 1m9s
2025-12-31 13:04:00 +00:00
nocci
051363ed5f
chore: fix lint (no extra parens) in new epic claimer
build-and-push / sonar (push) Successful in 12s
build-and-push / lint (push) Successful in 4s
build-and-push / docker (push) Successful in 1m13s
2025-12-31 12:57:39 +00:00
nocci
2908cbd1f5
chore: fix lint in new epic claimer
build-and-push / lint (push) Failing after 5s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
2025-12-31 12:55:52 +00:00
nocci
bf0625de8b
fix: auto-fill epic login in new claimer to avoid timeout
build-and-push / lint (push) Failing after 4s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
2025-12-31 12:47:23 +00:00
nocci
d05c184156
feat: enhance new epic claimer with cookie persistence and oauth device flow
build-and-push / lint (push) Failing after 4s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
2025-12-31 12:30:02 +00:00
nocci
7a9f31df7c
feat: add optional new epic claimer mode
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m13s
2025-12-31 12:25:07 +00:00
nocci
4ce50e2e43
chore: add keep-alive helper script
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m10s
2025-12-31 12:08:20 +00:00
nocci
133502ff94
chore: make version banner configurable and speed up login waits
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m10s
2025-12-31 11:58:35 +00:00
nocci
34e8d92b05
fix: run container as root to keep browser profile writable
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 11s
build-and-push / docker (push) Successful in 1m11s
2025-12-31 11:47:36 +00:00
nocci
7f5226ea65
chore: add writable browser profile fallback to /tmp
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 11s
build-and-push / docker (push) Successful in 1m12s
2025-12-31 11:13:39 +00:00
nocci
0340873d91
fix: define MFA helper before use
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m8s
2025-12-31 10:58:27 +00:00
nocci
2aaa0cdd1a
fix: wait for prime-gaming MFA prompt
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m10s
2025-12-31 10:51:13 +00:00