Commit graph

694 commits

Author SHA1 Message Date
nocci
7df5c2e2fe 💄 style(epic-claimer): remove unnecessary code
Some checks failed
build-and-push / lint (push) Successful in 8s
build-and-push / sonar (push) Failing after 0s
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
build-and-push / lint (push) Failing after 52s
- 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
Some checks failed
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
Some checks failed
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
Some checks failed
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
nocci
e6c43c8de6 fix: fallback writable firefox profile
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m12s
2025-12-31 10:44:28 +00:00
nocci
488a050f00 ci: exclude coverage and cpd for sonar
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 11s
build-and-push / docker (push) Successful in 1m10s
2025-12-31 10:40:44 +00:00
nocci
2bc8e958d2 fix: resolve remaining sonar findings
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m9s
2025-12-31 10:38:07 +00:00
nocci
5e0c5263ca ci: ignore commented code rule in sonar
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 13s
build-and-push / docker (push) Successful in 1m14s
2025-12-31 10:31:58 +00:00
nocci
6216d8eac3 ci: avoid sonar branch analysis on community edition
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 11s
build-and-push / docker (push) Successful in 1m10s
2025-12-31 10:24:15 +00:00
nocci
4c255a8258 ci: report sonar branch name
Some checks failed
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Failing after 3s
build-and-push / docker (push) Has been skipped
2025-12-31 10:22:42 +00:00
nocci
c486f45bc0 ci: build dev branch and tag images
All checks were successful
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m9s
2025-12-31 10:19:30 +00:00
nocci
67afeead60 chore: chown /fgc/data on start so fgc can write bind-mount
All checks were successful
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-30 17:36:31 +00:00
nocci
8ebb57a706 Add missing Playwright deps and clear Firefox locks on start
All checks were successful
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-30 17:27:28 +00:00
nocci
949206dbf2 Ensure /tmp/.X11-unix exists with sane perms
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m16s
2025-12-30 17:21:53 +00:00