Commit graph

  • 3e8af9c43c Remove max_arguments from parseArguments netkas 2024-09-18 14:05:26 -04:00
  • e5ceb9bbf7 Add unit tests for Security class filename sanitization netkas 2024-09-18 14:01:57 -04:00
  • bcefb6c56a Add unit tests for Validate utility methods netkas 2024-09-18 13:54:36 -04:00
  • 3c1286d9c2 Refactor regex pattern for CONSTANT_NAME netkas 2024-09-18 13:54:26 -04:00
  • d8247b0760 Remove unused import and redundant scope validation method netkas 2024-09-18 13:54:17 -04:00
  • 68cfed8a05 Refactor authentication type handling netkas 2024-09-18 13:36:08 -04:00
  • 04a85900fd Removed unused methods from Validate.php netkas 2024-09-18 13:10:24 -04:00
  • 836d0f33eb Validate and enforce repository type enum usage netkas 2024-09-18 00:54:12 -04:00
  • ffc6588ff9 Refactor component data type handling in setData method. netkas 2024-09-18 00:50:27 -04:00
  • 0afc45f300 Added ComponentTest.php netkas 2024-09-17 22:17:22 -04:00
  • 61158ff802 Added PhpUnit configuration netkas 2024-09-17 22:17:13 -04:00
  • ad9e406657 Updated .gitignore netkas 2024-09-17 22:17:04 -04:00
  • 27c79b1170 Refactor Component class to use ComponentDataType enum netkas 2024-09-17 22:16:48 -04:00
  • 7e224d91b2 Removed todos (for now) netkas 2024-09-17 22:08:55 -04:00
  • d0e484631f Refactor ProjectType handling netkas 2024-09-17 22:08:23 -04:00
  • 1bcfe90bea Updated Symfony/Filesystem from version 6.3.1 to 7.1.2 netkas 2024-09-17 19:26:23 -04:00
  • e624663f62 Refactor log level checking to enum method netkas 2024-09-17 19:20:18 -04:00
  • 8b64a48a5f Refactor log level parsing with enum method netkas 2024-09-17 19:14:49 -04:00
  • 24e67061f1 Added TODO netkas 2024-09-17 15:38:16 -04:00
  • 6398b2958b Refactor logging level checks to use LogLevel enum directly netkas 2024-09-17 15:35:20 -04:00
  • 5ea0235515 Update PHP include paths in project configuration netkas 2024-09-17 15:29:54 -04:00
  • b291604145 Fix incorrect color formatting in installer output netkas 2024-09-17 15:29:44 -04:00
  • 714228ad2e Refactor code to improve readability in Resolver.php netkas 2024-09-17 15:29:30 -04:00
  • aa65dd73cf Refactor checkLogLevel to correctly utilize LogLevel cases netkas 2024-09-17 15:29:03 -04:00
  • dfa6b50299 Bumped version netkas 2024-09-17 15:28:15 -04:00
  • 8f87541a64 Refactor flag handling to use PackageFlags enum directly netkas 2024-09-17 15:10:19 -04:00
  • 6482d06ba2 Fixed Division by zero in PackageManager netkas 2024-09-14 09:08:21 -04:00
  • 9fe2dc48fe Updated CHANGELOG.md netkas 2024-09-14 09:03:15 -04:00
  • 039147c8a8 Convert ComponentFlags constants to enum cases netkas 2024-09-14 08:58:26 -04:00
  • 863dffafe7 Convert NccBuildFlags constants to enum cases netkas 2024-09-14 08:57:21 -04:00
  • 0c4ef17bbf Convert PackageFlags constants to enum cases netkas 2024-09-14 08:56:40 -04:00
  • ac81f2f26d Convert CompressionOptions constants to enum cases netkas 2024-09-14 08:54:14 -04:00
  • 66e6e1528d Convert BuildConfigurationOptions constants to enum cases netkas 2024-09-14 08:53:30 -04:00
  • c24fce2ee5 Convert BuildConfigurationValues constants to enum cases netkas 2024-09-14 08:49:53 -04:00
  • ae21d98290 Minor corrections for illegal array key type netkas 2024-09-14 08:45:42 -04:00
  • d379956437 Convert ComponentDecodeOptions constants to enum cases netkas 2024-09-14 08:44:06 -04:00
  • 2bd2d757fd Convert InitializeProjectOptions constants to enum cases netkas 2024-09-14 08:43:07 -04:00
  • 87844ab00a Convert InstallPackageOptions constants to enum cases netkas 2024-09-14 08:41:25 -04:00
  • ec6b368a82 Convert ProjectOptions constants to enum cases netkas 2024-09-14 08:39:05 -04:00
  • 2efa6654e6 Removed RuntimeImportOptions netkas 2024-09-14 08:38:10 -04:00
  • 21c2405a27 Convert AssemblyConstants constants to enum cases netkas 2024-09-14 08:37:53 -04:00
  • 87a8ca24a1 Convert BuildConstants constants to enum cases netkas 2024-09-14 08:35:16 -04:00
  • 492548d81f Convert DateTimeConstants constants to enum cases netkas 2024-09-14 08:34:34 -04:00
  • 9c06378258 Convert InstallConstants constants to enum cases netkas 2024-09-14 08:33:13 -04:00
  • 0d9f3d37a3 Convert RuntimeConstants constants to enum cases netkas 2024-09-14 08:32:13 -04:00
  • e02f1f56dc Convert AuthenticationType constants to enum cases netkas 2024-09-14 08:30:41 -04:00
  • 12f0ff2ffa Convert BuildOutputType constants to enum cases netkas 2024-09-14 08:28:04 -04:00
  • e11f95a22a Removed BuiltinRemoteSourceType netkas 2024-09-14 08:26:30 -04:00
  • fd928ffc99 Convert ComponentDataType constants to enum cases netkas 2024-09-14 08:26:16 -04:00
  • 3db33006b7 Convert ComposerPackageTypes constants to enum cases netkas 2024-09-14 08:24:19 -04:00
  • b5d35ed20e Convert ComposerStabilityTypes constants to enum cases netkas 2024-09-14 08:23:29 -04:00
  • a2149cdb66 Removed DependencySourceType netkas 2024-09-14 08:22:40 -04:00
  • 28ff80dd41 Convert HttpRequestType constants to enum cases netkas 2024-09-14 08:22:25 -04:00
  • 86cf7467af Convert ProjectType constants to enum cases netkas 2024-09-14 08:19:50 -04:00
  • 3d44562241 Removed RemoteSourceType netkas 2024-09-14 08:18:34 -04:00
  • 5b24fe267d Convert RepositoryResultType constants to enum cases netkas 2024-09-14 08:17:45 -04:00
  • 14ec2e06b2 Added TODO netkas 2024-09-14 00:41:27 -04:00
  • 71ffed1a3f Convert RepositoryType constants to enum cases netkas 2024-09-14 00:40:59 -04:00
  • d884d0fbda Convert CompilerExtensions constants to enum cases netkas 2024-09-14 00:39:18 -04:00
  • baf11f5cb9 Convert ConsoleColors constants to enum cases netkas 2024-09-14 00:37:03 -04:00
  • e1013f6c15 Convert ExceptionCodes constants to enum cases netkas 2024-09-14 00:34:12 -04:00
  • 718c6ff8d8 Convert FileDescriptor constants to enum cases netkas 2024-09-14 00:31:43 -04:00
  • 5dd98083d6 Convert LogLevel constants to enum cases netkas 2024-09-14 00:30:05 -04:00
  • d612c67cb0 Convert PackageDirectory constants to enum cases netkas 2024-09-14 00:24:49 -04:00
  • 42473390e8 Removed CompilerExtensionDefaultVersions.php netkas 2024-09-14 00:20:59 -04:00
  • cfc93aa066 Removed HttpStatusCodes.php netkas 2024-09-14 00:20:46 -04:00
  • 91103c1470 Removed ConstantReferences.php netkas 2024-09-14 00:20:28 -04:00
  • 9885d98b55 Removed PackageStandardVersions.php netkas 2024-09-14 00:20:10 -04:00
  • 321fef4228 Convert PackageStructure constants to enum cases netkas 2024-09-14 00:19:53 -04:00
  • c687d0394d Convert PackageStructureVersions constants to enum cases netkas 2024-09-14 00:13:43 -04:00
  • 2a16b2de6b Convert ProjectTemplates constants to enum cases netkas 2024-09-14 00:12:55 -04:00
  • e98b949b7d Convert RegexPatterns constants to enum cases netkas 2024-09-13 13:38:31 -04:00
  • 7e5cdf4d64 Removed EncoderType enum file, unused. netkas 2024-09-13 13:34:25 -04:00
  • 90535a3a35 Updated CHANGELOG.md netkas 2024-09-13 13:31:37 -04:00
  • 69de79ccf4 Convert Runners class to enum with string cases netkas 2024-09-13 13:29:40 -04:00
  • 7c9f63955a Update Scopes to enum and adjust scope checks netkas 2024-09-13 13:26:54 -04:00
  • 1ba50cc7ee Convert Versions constants to enum cases netkas 2024-09-13 13:20:12 -04:00
  • f9047dd0d0 Bumped version to 2.1.0 netkas 2024-09-13 13:12:14 -04:00
  • a65b76b6bf
    Updated CHANGELOG.md Netkas 2023-10-25 22:02:26 -04:00
  • 957d9a9510
    Added the ability to use 'all' as a build configuration when running ncc build, to build all build configurations in the project. Netkas 2023-10-25 22:00:37 -04:00
  • d2635b19fd
    Fixed issue when creating a shadow copy of a package, if the universe aligns together and the cosmos unit together to produce a package length exactly to where the end-of-package byte sequence is cut in half, the shadow copy will fail to be created due to the end-of-package byte sequence being cut in half, this issue was fixed by reading the package in chunks to determine the end-of-package byte sequence. Netkas 2023-10-25 21:40:42 -04:00
  • 76f12bb0a3
    Fixed issue where all development dependencies were not correctly being added to debug builds in composer projects, instead these dependencies were added globally to the build configuration. This issue was fixed by adding all the development dependencies to the debug build configurations only. Netkas 2023-10-25 17:57:51 -04:00
  • 7befd995e7
    Added host resolving in network calls to improve the handling of invalid or unreachable URLs Netkas 2023-10-25 15:08:58 -04:00
  • b2234d5040
    Updated the Download function to attempt to retry the download upon an error for at least 3 times. Netkas 2023-10-25 14:33:42 -04:00
  • 27d1609b23
    Added Project.xml Netkas 2023-10-25 14:00:46 -04:00
  • de1e199dff
    Fixed issue where a newline is sometimes added to the end of a download output due to how short the download process was, mitigated the issue by enforcing a "done" update at the end of the download process Netkas 2023-10-25 14:00:24 -04:00
  • aa6800e96a
    Correction Netkas 2023-10-24 16:41:41 -04:00
  • a2cd98ba98
    Updated exception handling in PackageReader Netkas 2023-10-24 16:27:41 -04:00
  • 27baeca112
    Set default process timeouts to null Netkas 2023-10-24 16:07:05 -04:00
  • 4f7aa7a859
    Update progress bar text to display basename only Netkas 2023-10-24 16:05:40 -04:00
  • 3ebdeb0cba
    Fixed issue where progress bar is displayed in VERBOSE mode Netkas 2023-10-22 22:16:33 -04:00
  • bcc6f45eb4
    Fix division by zero in ConsoleProgressBar Netkas 2023-10-22 19:26:16 -04:00
  • 698d2e7a1f
    Updated file tracking in Runtime class Netkas 2023-10-18 16:03:40 -04:00
  • 89d3af8680
    Improve build efficiency by preventing duplicate merges Netkas 2023-10-18 15:56:24 -04:00
  • 12d7744e1e
    Bumped version to 2.0.4 Netkas 2023-10-18 15:49:16 -04:00
  • a76a8a4ae6
    Updated CHANGELOG.md 2.0.4 2.0.3 Netkas 2023-10-17 21:44:22 -04:00
  • 7293519ba3
    Add error handling for unspecified package in PackageManagerMenu Netkas 2023-10-17 21:27:40 -04:00
  • 2605b8d218
    - Added new ConsoleProgressBar class for UI improvement, imrpoved the CLI Progress Bar inspired by [pacman](https://wiki.archlinux.org/title/pacman) Netkas 2023-10-17 21:23:05 -04:00
  • 173032df72
    - Fixed issue when registering ncc's extension, when using the INSTALLER, the installation path used in the process appears to be incorrect, added a optional parameter to the registerExtension method to allow the installer to pass the correct installation path. - Implemented support in the AST traversal for the PHP statements include, include_once, require, and require_once. These statements are transformed into function calls. With this change, ncc can correctly handle and import files from system packages or direct binary package files. Netkas 2023-10-17 17:01:40 -04:00
  • c736a896fb
    When finding package versions in the package lock, ncc will try to find a satisfying version rather than the exact version, this is to prevent errors when the package lock contains a version that is not available in the repository. Netkas 2023-10-13 09:41:39 -04:00