Commit graph

477 commits

Author SHA1 Message Date
b689be3bd5
Updated GithubRepository.php to use RuntimeCache for http requests 2023-10-03 19:08:37 -04:00
09977f9f11
Updated GiteaRepository.php to use RuntimeCache for http requests 2023-10-03 18:03:48 -04:00
8549cff119
Refactored RuntimeCache.php 2023-10-03 17:34:09 -04:00
021d5ec750
Corrected argument pass through in \ncc\Manager > PackageManager > downloadFile() where $file_handle is passed to ShutdownHandler::declareTemporaryPath() rather than $file_path 2023-10-03 17:22:12 -04:00
1e0ea848b8
Added check for empty package input 2023-10-03 17:15:01 -04:00
161ef357a2
Added beta flag 2023-10-03 17:12:27 -04:00
0b4dbf6cc1
Minor optimization 2023-10-01 17:47:58 -04:00
4673c74d16
Updated CHANGELOG.md 2023-10-01 16:39:25 -04:00
01589e509f
Minor correction 2023-10-01 16:35:48 -04:00
c73465e965
Changed output initialization 2023-10-01 16:33:31 -04:00
44a12b66cf
Added check for importing a package from the system 2023-10-01 16:28:57 -04:00
4d317d61ab
Removed unused Constants.php 2023-10-01 16:26:10 -04:00
234c6e955b
Added check for installing dependencies 2023-10-01 16:25:20 -04:00
9bc339d1cb
Merged output_path & output_name build configuration options to output 2023-10-01 14:44:05 -04:00
107ebfa68c
Implemented require files handler & implemented proper exception handling for the import function 2023-10-01 14:34:58 -04:00
c86b4b7465
Added '-y' argument to \ncc\CLI\Management > PackageManagerMenu > uninstallAllPackages() 2023-10-01 14:17:59 -04:00
67956d3641
Removed redundant call 2023-10-01 14:03:06 -04:00
f2b69253ae
Reduced function calls :D 2023-10-01 12:12:44 -04:00
05c6483edc
Added todo tasks 2023-10-01 11:55:13 -04:00
5d9168f664
Implemented static dependencies & corrected output argument 2023-09-30 21:27:12 -04:00
770dde9ed2
Corrected shadow copy logic to not use stream_copy_to_stream() as it causes unexpected results. 2023-09-30 02:20:01 -04:00
9ded98c3e1
Added the ability to reinstall & skip dependencies for installation procedures 2023-09-30 00:07:56 -04:00
976518439f
Added checksum 2023-09-29 23:42:56 -04:00
e1f813ab60
Oops 2023-09-29 17:01:59 -04:00
38ab509630
Added shadow copy command to the Package Inspector Command 2023-09-29 16:43:48 -04:00
2cb5659de9
Update project files 2023-09-29 06:37:07 -04:00
29cf2ac00b
Update project files 2023-09-29 06:36:50 -04:00
67a1a29f8a
- Removed .gitlab-ci.yml.old
- Added logic for dependency importing
 - Enforced security
 - Added "." handler for GitlabRepository.php
 - Minor bug fixes
2023-09-29 01:57:41 -04:00
9cfca3281a
Touch-up & Implemented authentication system 2023-09-28 21:56:15 -04:00
09c89c16a0
Merge remote-tracking branch 'n64/dev' into dev 2023-09-28 21:30:29 -04:00
ba2e968676
Touchup 2023-09-28 21:30:00 -04:00
d5c0ebf9c7
Moved Component.php to InternalComponent.php 2023-09-26 17:35:52 -04:00
9aba1cbf38
Removed ExecutionPointer.php & Implemented ValidatableObjectInterface into BuildConfiguration.php 2023-09-26 17:33:14 -04:00
f62856b530
- Cleaned up imports
- Various bug fixes and improved performance on package reading/writing
 - Corrected CHANGELOG.md
 - Updated dependency `Symfony/polyfill-mbstring` to 1.28.0
 - Updated dependency `Symfony/polyfill-uuid` to 1.28.0
 - Updated dependency `Symfony/Process` to 6.3.4
 - Updated dependency `Symfony/Uid` to 6.3.0
 - Updated dependency `Symfony/Yaml` to 6.3.3
 - Added support for Gitea repositories
 - Added support for Packagist repositories
 - Added a new default Gitea repository nocturn9x at git.nocturn9x.space
 - Added a new default Gitea repository martinvlba at git.martinvlba.eu
 - Added a new default Gitea repository kuny at git.it-kuny.ch
 - Added dependency composer/semver version 3.4.0 for composer version comparison compatibility
 - Added a new class \ncc\Classes\ArchiveExtractor to extract multiple archive types
 - Refactored \ncc\Objects\RemoteRepository
 - Refactored the repository system
 - Refactored Github's repository interface
 - Refactored Gitlab's repository interface
 - Refactored SourcesMenu in the CLI to use the new repository system
 - Updated dependency nikic/php-parser to version 4.17.1
 - Added a simple security measure in \ncc\Objects\Value\Entry to delay returns randomly when the password is incorrect
 - Refactored the CLI menu system to use a return exit code system
 - Updated the installer to remove unused components and installation steps
 - Updated dependency Symfony/Filesystem to 6.3.1
 - Updated dependency Symfony/polyfill-ctype to 1.28.0
 - Enforced credential storage security by applying 600 permissions to the storage file so that only the owner can read/write to the file; this will require root access to perform any operations on the credential file. A password will still be needed to decrypt entries in the file if any entries are encrypted.
 - Removed \ncc\Classes\NccExtension\Runner in favor of the new Execution Unit system
 - Removed \ncc\Managers\ExecutionPointerManager in favor of the new Execution Unit system
2023-09-26 17:06:43 -04:00
badPointer
23e2673eed feat: update readme 2023-09-22 16:37:06 +00:00
5da97e4b3d
Updated PhpRunner.php 2023-09-10 22:47:37 -04:00
de88a4fb9e
- Added the ability to compile executable binaries for php using gcc
- Refactored execution unit system to use a new execution pointer system
 - Refactored `PhpRunner` to use the new execution pointer system
 - Refactored `BashRunner` to use the new execution pointer system
 - Refactored `LuaRunner` to use the new execution pointer system
 - Refactored `PerlRunner` to use the new execution pointer system
 - Refactored `PythonRunner` to use the new execution pointer system
 - Removed dependency `theseer\Autoload` in favor of ncc's own autoloader (screw you Arne Blankerts)
 - Refactored ZiProto
 - Removed runners `Python2` & `Python3` in favor of `Python`
2023-09-10 22:47:24 -04:00
ab32a3bba3
Minor change 2023-09-04 22:45:31 -04:00
4682b613a4
Minor change 2023-09-04 22:45:09 -04:00
5ce1c8cfa1
Bumped version to 2.0.0 2023-09-04 21:56:36 -04:00
d41ae8114f
- Refactored the entire package structure to ncc package structure 2.0 for memory efficiency and performance 2023-09-04 21:56:07 -04:00
d4f69522fc
Cleanup 2023-09-01 04:31:24 -04:00
e7eecd354a
Cleanup 2023-09-01 04:23:01 -04:00
d4e710d9d9
Cleanup 2023-09-01 04:19:09 -04:00
00e9bf1dd9
Fixed multiple ExecutionPolicies from populating the configuration file 2023-09-01 04:17:19 -04:00
84e4158fb8
Fixed return type in \ncc\Objects\ProjectConfiguration\ExecutionPolicy > Execute > toArray() 2023-09-01 04:11:33 -04:00
45c53981ef
- Added the ability to clean arrays in \ncc\Utilities > Functions > cleanArray() 2023-09-01 04:06:52 -04:00
0e8397ec1f
- Added new template PhpCliTemplate phpcli
- Added new template PhpLibraryTemplate `phplib`
 - Implemented a template engine and refactored the CLI menu for the Project Manager and added a new `template` command
2023-09-01 03:47:01 -04:00
8ea203a0f1
Fixed @Throw statements 2023-08-31 18:27:21 -04:00
01cda99139
- \ncc\Objects\ProjectConfiguration > Dependency > __construct() now requires the parameters $name, $source_type,
`$source` and `$version`
 - `\ncc\Objects\ProjectConfiguration > Dependency > fromArray()` Throws an `ConfigurationException` if the property
   `name` is missing in the dependency configuration
 - Also updated a bunch of objects in a similar fashion to the ones above, (BuildConfiguration, Execute, ExitHandle,
   ExitHandler, Repository, Assembly, Build, Dependency, ExecutionPolicy, Installer, Project, UpdateSource) I'm not
   going to list them all here, but you can find them in the commit history.
 - Added a new interface class `ValidatableObjectInterface` to implement validatable objects, this method will throw a
   `ConfigurationException` if the object is not valid or a `NotSupportedException` if the object contains methods that
   are not supported by the current version of ncc or project.
2023-08-31 18:26:18 -04:00