This repository was archived by the owner on Sep 16, 2025. It is now read-only.
Merged
Conversation
Owner
isaka-james
commented
Feb 19, 2025
- first release
- fixed all backend issues
- optimizations
- installation candidates
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.