Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Quiz #2

Merged
isaka-james merged 5 commits intomasterfrom
dev
Feb 19, 2025
Merged

Quiz #2
isaka-james merged 5 commits intomasterfrom
dev

Conversation

@isaka-james
Copy link
Owner

  • first release
  • fixed all backend issues
  • optimizations
  • installation candidates

isaka-james and others added 5 commits February 12, 2025 23:45
- Introduce persistent user identifier stored in local config directory
- Add ~/Projects/quiz dependency for cross-platform config path handling
- Generate unique user ID using  and store in ~/.config/quiz_id
- Send X-Custom-ID header with all server requests for user association
- Add error handling chain for ID generation/storage operations
- Include fallback mechanisms for filesystem operations
- Set SERVER_URL to http://quiz.ct.ws for both debug and production builds.
- Update API endpoints to use .php paths (/courses.php, /questions.php, /answer.php).
- Add browser-like headers (User-Agent, Referer, Cookies) via generate_helpers() to mimic legitimate traffic.
- Improve error messaging for users when questions are unavailable, hiding technical details in production.
- Conditionally print debug information (responses/headers) based on DEBUG flag.
- Simplify DEBUG constant to align with build type using cfg!(debug_assertions).
- Standardize header generation across requests to include X-Custom-ID and browser identifiers.
- no longer vip seen from the docs, also remove the deprecated api guide
- visitors count
@isaka-james isaka-james merged commit a2f457f into master Feb 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant