-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Athena's Shield | The Extra File Verification System #364
base: master
Are you sure you want to change the base?
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3ee4c73 - Browse repository at this point
Copy the full SHA 3ee4c73View commit details -
Add Athena's Shield configuration and CLI
Introduce AthenaShield class to manage configuration, CLI for user setup, and update package.json with new script. This enhances the application's configurability and user interaction.
Configuration menu - View commit details
-
Copy full SHA for 9813802 - Browse repository at this point
Copy the full SHA 9813802View commit details -
Add new dlAsync function and mod validation messages
Implemented a new `dlAsync.js` file and updated the `en_US.toml` with new mod validation messages. This includes the logic for mod verification and error handling, ensuring the integrity of mods before launching the game. Ajout prochainement de l'utilitaire npm run athshield
Configuration menu - View commit details
-
Copy full SHA for 5f3e229 - Browse repository at this point
Copy the full SHA 5f3e229View commit details
Commits on Oct 24, 2024
-
Update landing.js dependencies and add new features
Replaced 'path' with 'fs' module and removed unused 'Lang'. Added support for the new HeliosLauncher version and implemented a whitelist for mods. Fixed a typo in the logging message.
Configuration menu - View commit details
-
Copy full SHA for 3790b52 - Browse repository at this point
Copy the full SHA 3790b52View commit details -
Fix typo in game launch message
Corrected the typo from "launchingGame" to "waintingLaunchingGame" in the en_US language file. This ensures the message displayed to users is accurate and free of errors.
Configuration menu - View commit details
-
Copy full SHA for 85cb733 - Browse repository at this point
Copy the full SHA 85cb733View commit details -
Add mod whitelist and new HeliosLauncher support
Implemented a whitelist for mods and added support for the new version of HeliosLauncher. Also corrected a language key for launch information logging.
Configuration menu - View commit details
-
Copy full SHA for 7073c27 - Browse repository at this point
Copy the full SHA 7073c27View commit details -
Use AthShield for mod verification
Implemented mod verification using AthShield when enabled. Added detailed mod identity extraction and validation logic for better integrity checks. Added logs for each verification step and fallback to hash-based identity if the manifest is missing. Grande ligne : quand tu actives ath shield alors il utilise le système Athena's Shield.
Configuration menu - View commit details
-
Copy full SHA for 886b29e - Browse repository at this point
Copy the full SHA 886b29eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1476dbb - Browse repository at this point
Copy the full SHA 1476dbbView commit details -
Add mod verification logic using Athena's Shield
Integrated Athena's Shield for mod verification, including mod identity extraction and validation against expected identities. Added exclusion list for mods, and implemented fallbacks for missing mod identities using MD5 hashes. Adjusted logging and error reporting to provide clearer feedback.
Configuration menu - View commit details
-
Copy full SHA for 2fc9c3e - Browse repository at this point
Copy the full SHA 2fc9c3eView commit details -
Refactor project structure by moving athshield files
Relocated athshield files to app/assets/athshield for better organization and maintainability. This change improves the project's folder structure and simplifies file management.
Configuration menu - View commit details
-
Copy full SHA for b435f7a - Browse repository at this point
Copy the full SHA b435f7aView commit details -
Add Athena's Shield activation messages
Include messages for when Athena's Shield is activated and deactivated in the English localization file. This will provide users with clear notifications on the status of Athena's Shield.
Configuration menu - View commit details
-
Copy full SHA for e3c6a18 - Browse repository at this point
Copy the full SHA e3c6a18View commit details -
Update athshield script path in package.json
Relocated the athshield.js script from ./athshield/ to app/assets/athshield/. This change ensures better organization of script files within the project structure.
Configuration menu - View commit details
-
Copy full SHA for ae9e7b5 - Browse repository at this point
Copy the full SHA ae9e7b5View commit details -
Rename view method to type and integrate athShield in settings
Renamed the `view` method to `type` in parserAthShield.js to better reflect its purpose. Removed unused `athShield` import from landing.js and added it to settings.js. Added a manageModCategory function in settings.js to manage the display and interaction state of the Mods tab based on the type of `athShield`.
Configuration menu - View commit details
-
Copy full SHA for fc5a2d4 - Browse repository at this point
Copy the full SHA fc5a2d4View commit details -
Refactor menu visibility logic in athshield.js
Separate logic for 'cacher' and 'bloquer' options and update corresponding values to 'hidden' and 'blocked' respectively. Ensure configuration is saved after setting the menu visibility.
Configuration menu - View commit details
-
Copy full SHA for 96e0ca1 - Browse repository at this point
Copy the full SHA 96e0ca1View commit details -
Refactor comments and questions from French to English
Updated all comments and user prompts in athshield.js from French to English for better code readability and broader usability. No functional changes were made.
Configuration menu - View commit details
-
Copy full SHA for 297a3a0 - Browse repository at this point
Copy the full SHA 297a3a0View commit details -
Fix escape character handling in console log messages
Updated console log messages in athshield.js to use single quotes for consistent escape character handling. This adjustment ensures better compatibility and readability of string literals in the code.
Configuration menu - View commit details
-
Copy full SHA for 9d4c8cc - Browse repository at this point
Copy the full SHA 9d4c8ccView commit details -
Replaced direct assignment of `dataPath` with variable `nameDataPath` for consistent naming. Introduced `getNameDataPath` function to return the launcher directory name string.
Configuration menu - View commit details
-
Copy full SHA for 4835001 - Browse repository at this point
Copy the full SHA 4835001View commit details -
Refactor config path retrieval in landing.js
Remove unused dataPath constant and replace its usage in mod validation error message with ConfigManager.getNameDataPath(). This ensures the config path is retrieved dynamically.
Configuration menu - View commit details
-
Copy full SHA for 1f4df6b - Browse repository at this point
Copy the full SHA 1f4df6bView commit details
Commits on Oct 25, 2024
-
Changed "private" field in package.json from true to false. This will make the package accessible on npm and allow others to install it.
Configuration menu - View commit details
-
Copy full SHA for 980c836 - Browse repository at this point
Copy the full SHA 980c836View commit details
Commits on Oct 26, 2024
-
Add project configuration and settings files
Added .gitignore to exclude IDE-specific files, set up project code style configuration, included game and launcher settings in config.json, and created minimal discord and distribution JSON files for project setup.
Configuration menu - View commit details
-
Copy full SHA for 0964648 - Browse repository at this point
Copy the full SHA 0964648View commit details -
Add debug mode option to Athena's Shield configuration
Introduced an option to activate debug mode in Athena's Shield. Updated relevant JavaScript files and configuration to handle the debug mode setting. Added a new method for retrieving the debug status within the parserAthShield.js class.
Configuration menu - View commit details
-
Copy full SHA for 3cdad51 - Browse repository at this point
Copy the full SHA 3cdad51View commit details -
Enable debug logging conditionally for AthShield
Wrapped several logging statements related to module identity extraction and validation with a conditional check on the athShield.debug flag. This ensures that detailed logging information is recorded only when debugging is enabled, optimizing performance and log clarity.
Configuration menu - View commit details
-
Copy full SHA for 485facf - Browse repository at this point
Copy the full SHA 485facfView commit details -
Update REMOTE_DISTRO_URL to new API endpoint
Switched the distribution URL to a more reliable API endpoint to improve stability and performance. The new URL is 'https://api.skym-mc.fr/api/v1/servers/distro', which replaces the old one.
Configuration menu - View commit details
-
Copy full SHA for 33788d4 - Browse repository at this point
Copy the full SHA 33788d4View commit details -
Refactor identity check error message
Simplify the log message for identity not found in the manifest by combining it with the hash usage statement. This improves readability and reduces redundancy in the code.
Configuration menu - View commit details
-
Copy full SHA for 84b4ba9 - Browse repository at this point
Copy the full SHA 84b4ba9View commit details -
Update distribution URL in distromanager.js
Revert distribution URL to 'https://helios-files.geekcorner.eu.org/distribution.json'. This change ensures compatibility with the older distribution endpoint and corrects the previous, unintended URL.
Configuration menu - View commit details
-
Copy full SHA for f366b8b - Browse repository at this point
Copy the full SHA f366b8bView commit details -
Enable detailed debug logging for mod identity validation
This commit refactors the mod identity extraction and validation process to include detailed debug logs, which are conditionally logged based on the `athShield.debug` flag. It also updates the import statements and correctly references the `ConfigManager.getNameDataPath` function for error messages.
Configuration menu - View commit details
-
Copy full SHA for 50ad0e8 - Browse repository at this point
Copy the full SHA 50ad0e8View commit details -
Fix typo in comment annotation
Corrected the typo "discovereds" to "discovered" in the comment section of the landing.js file. This ensures accuracy and professionalism in the documentation.
Configuration menu - View commit details
-
Copy full SHA for a94aa49 - Browse repository at this point
Copy the full SHA a94aa49View commit details -
Remove deprecated Athena Shield and HeliosLauncher code
Deleted the dlAsync.js and landing.js files from both "ancien code" and "version code final" directories. This cleanup removes outdated functionality related to mod validation and launcher processes, streamlining the codebase.
Configuration menu - View commit details
-
Copy full SHA for 1515571 - Browse repository at this point
Copy the full SHA 1515571View commit details -
Update documentation: Move Athena's Shield docs to /docs
Renamed Athena's Shield documentation file and added detailed sections explaining its purpose, key features, and user benefits. Introduced a new security feature for HeliosLauncher, ensuring the integrity of installed mods.
Configuration menu - View commit details
-
Copy full SHA for db49984 - Browse repository at this point
Copy the full SHA db49984View commit details -
Add crypto package to dependencies
The crypto package is added to the dependencies in package.json to support encryption-related functionalities. This addition helps in enhancing the security features of the application.
Configuration menu - View commit details
-
Copy full SHA for 1608983 - Browse repository at this point
Copy the full SHA 1608983View commit details -
Update review date in landing.js header comment
Adjusted the review date to reflect the latest inspection on 10.26.2024. No other changes or bug fixes were included in this commit.
Configuration menu - View commit details
-
Copy full SHA for a9c81a1 - Browse repository at this point
Copy the full SHA a9c81a1View commit details -
Change the "private" field in package.json to true. This will prevent the package from being accidentally published to public repositories.
Configuration menu - View commit details
-
Copy full SHA for d0c5bf1 - Browse repository at this point
Copy the full SHA d0c5bf1View commit details -
Remove outdated .idea configuration files
Removed various .idea project configuration files that are no longer needed. This cleanup helps avoid clutter and potential conflicts with differing local configurations.
Configuration menu - View commit details
-
Copy full SHA for 5ffa732 - Browse repository at this point
Copy the full SHA 5ffa732View commit details -
Remove French configuration and distribution files
Deleted `config.json` and `distribution.json` from the `fr` directory. These files contained localized configuration and distribution settings which are no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 068ca6b - Browse repository at this point
Copy the full SHA 068ca6bView commit details -
Add Athena's Shield section to README
Introduced instructions on activating Athena's Shield in HeliosLauncher. This includes steps for running the verification system and choosing various options to ensure mod integrity and a secure gaming experience.
Configuration menu - View commit details
-
Copy full SHA for a8a00e4 - Browse repository at this point
Copy the full SHA a8a00e4View commit details -
Update launch process with Discord RPC enhancements
Refined the logic for initializing and shutting down Discord Rich Presence (RPC). Added more detailed logging and error handling to the game launch process, enhancing the user experience and debugging capabilities.
Configuration menu - View commit details
-
Copy full SHA for aab9ff5 - Browse repository at this point
Copy the full SHA aab9ff5View commit details -
Remove unnecessary comment separators
Deleted redundant comment separators to clean up the code and improve readability. This does not affect the functionality but ensures the codebase remains easier to maintain.
Configuration menu - View commit details
-
Copy full SHA for 8744d3b - Browse repository at this point
Copy the full SHA 8744d3bView commit details -
Update landing script to improve debug capabilities
Added comment about server regex customization and clarified the login parameter's role in the dlAsync function, simplifying testing and validation without game launch.
Configuration menu - View commit details
-
Copy full SHA for 0893cf5 - Browse repository at this point
Copy the full SHA 0893cf5View commit details -
Reorder function calls in prepareModsTab.
Moved the manageModCategory function call to the end within prepareModsTab. This ensures that category management happens after resolving the UI elements, maintaining the logical sequence of operations.
Configuration menu - View commit details
-
Copy full SHA for f0321e1 - Browse repository at this point
Copy the full SHA f0321e1View commit details
Commits on Oct 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0348e83 - Browse repository at this point
Copy the full SHA 0348e83View commit details -
Configuration menu - View commit details
-
Copy full SHA for f68165c - Browse repository at this point
Copy the full SHA f68165cView commit details -
Refactor CLI activation logic and improve debug capabilities
This commit refactors the code in extraverif.js to improve the activation logic for the extra file verification CLI. It now handles comment lines correctly and ignores them. Additionally, the debug capabilities have been enhanced. The landing script has also been updated to improve debug capabilities. Unnecessary comment separators have been removed.
Configuration menu - View commit details
-
Copy full SHA for 040ca97 - Browse repository at this point
Copy the full SHA 040ca97View commit details -
Configuration menu - View commit details
-
Copy full SHA for aef5e02 - Browse repository at this point
Copy the full SHA aef5e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1614b63 - Browse repository at this point
Copy the full SHA 1614b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93bca16 - Browse repository at this point
Copy the full SHA 93bca16View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd67015 - Browse repository at this point
Copy the full SHA bd67015View commit details -
Configuration menu - View commit details
-
Copy full SHA for e51eefa - Browse repository at this point
Copy the full SHA e51eefaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 745a11e - Browse repository at this point
Copy the full SHA 745a11eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4732ee5 - Browse repository at this point
Copy the full SHA 4732ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d659e0f - Browse repository at this point
Copy the full SHA d659e0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07ed316 - Browse repository at this point
Copy the full SHA 07ed316View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f33a1d - Browse repository at this point
Copy the full SHA 7f33a1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f0a054 - Browse repository at this point
Copy the full SHA 2f0a054View commit details
Commits on Oct 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d4437c7 - Browse repository at this point
Copy the full SHA d4437c7View commit details
Commits on Oct 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0770d65 - Browse repository at this point
Copy the full SHA 0770d65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 092f36a - Browse repository at this point
Copy the full SHA 092f36aView commit details