Commit graph

107 commits

Author SHA1 Message Date
netkas
311132e765 Update CI workflow for main branch and release events 2024-09-17 14:09:22 -04:00
netkas
ad0c7f3e06 Update CI workflow for main branch and release events 2024-09-17 14:06:53 -04:00
netkas
5f52e7dd9e Update CI workflow for main branch and release events 2024-09-17 14:02:28 -04:00
netkas
45b7879186 Update CI workflow for main branch and release events 2024-09-17 13:58:20 -04:00
netkas
9bc1f86e25 Update CI workflow for main branch and release events 2024-09-17 13:55:36 -04:00
netkas
ffc91de77e Update CI workflow for main branch and release events 2024-09-17 13:49:46 -04:00
netkas
17f95d619f Update CI workflow for main branch and release events 2024-09-17 13:46:33 -04:00
netkas
6a4e3de7a3 Update CI workflow for main branch and release events 2024-09-17 13:36:25 -04:00
netkas
cbd4b459bb Update CI workflow for main branch and release events 2024-09-17 13:29:40 -04:00
netkas
813e2c4594 Update CI workflow for main branch and release events 2024-09-17 13:24:47 -04:00
netkas
41ad1ae694 Updated GitHub workflow to dynamically find ncc's build output path. 2024-09-17 13:18:20 -04:00
netkas
93b06e8b00 Added GitHub CI workflow (experimental) 2024-09-17 13:09:31 -04:00
netkas
97404dc382 Bumped ci version to php8.3 2024-09-17 13:01:37 -04:00
netkas
fbff562545 Reverted .gitlab-ci.yml 2024-09-17 12:47:38 -04:00
netkas
a1a6ae01a3 Add Debian sid repository and install phpab 2024-09-17 12:20:52 -04:00
netkas
8c6313c687 Update PHP version in GitLab CI configuration. 2024-09-17 12:18:08 -04:00
netkas
a56622b82a Simplify CI setup by changing phpab installation method 2024-09-17 12:15:34 -04:00
netkas
4224342369 Add .idea/php-test-framework.xml to .gitignore 2024-09-17 12:03:39 -04:00
netkas
65fee96352 Add new PHP include paths and PhpUnit configuration 2024-09-17 12:03:24 -04:00
netkas
06b05c350a Update project version and refine build configurations 2024-09-17 12:03:01 -04:00
netkas
d44020aacf Refactor ConfigLib and remove outdated tests 2024-09-17 12:02:41 -04:00
netkas
b405190389 Add PHPUnit configuration and bootstrap files
Introduced `phpunit.xml` for setting up our PHPUnit test suite with essential settings. Also added `bootstrap.php` to require necessary dependencies and import the `ConfigLib` library. This allows for a standardized testing environment and smoother test execution.
2024-09-17 12:00:36 -04:00
ec3a7834c6
Revert "Corrected CHANGELOG.md"
This reverts commit 85f0aab16b.
2023-08-13 19:00:29 -04:00
85f0aab16b
Corrected CHANGELOG.md 2023-08-13 18:10:58 -04:00
906e168ade
Updated CHANGELOG.md 2023-08-12 08:56:18 -04:00
a48ee620c7
Updated README.md 2023-08-12 08:50:54 -04:00
7d7ab112b6
Updated README.md 2023-08-12 08:50:25 -04:00
544b9f2e1c
Added the ability to override configuration properties with environment variables using the format CONFIGLIB_<CONFIG_NAME>_<PROPERTY_NAME> 2023-08-12 08:39:02 -04:00
b26d818d6b
Corrected a few lines of code in regards to missing variable definitions 2023-08-12 02:20:40 -04:00
8835ad9702
Bumped version to 1.0.4 2023-08-12 01:54:59 -04:00
3224bcc44a
Corrected version 2023-08-12 01:54:27 -04:00
fbf86f7a92
Updated CHANGELOG.md 2023-08-12 01:53:41 -04:00
5afae885db
Fixed Fatal error: Uncaught TypeError: array_replace_recursive(): Argument #1 ($array) must be of type array, null given in /var/ncc/packages/net.nosial.configlib=1.0.2/src/ConfigLib/Configuration.php:331 2023-07-13 17:05:32 -04:00
4cffe41bf0
Updated .gitlab-ci.yml 2023-07-11 22:30:29 -04:00
a3c04e1c36
Fixed issue #1 in Configuration->__construct() where the name of an environment variable was being used instead of its value when determining the configuration file path. This incorrect handling resulted in warnings about non-existent files and hindered the proper loading of configuration files. With this fix, environment variables should now correctly guide the path to the desired configuration files, improving the flexibility and functionality of the configuration library. 2023-07-11 22:25:53 -04:00
7aa8c56074 Update .gitlab-ci.yml 2023-07-11 23:15:27 +00:00
f7c64f4ba6
Updated CHANGELOG.md 2023-07-11 14:37:39 -04:00
fccc0cd20c
Minor correction 2023-07-11 14:36:36 -04:00
75bab04162
Added Intellij run configurations 2023-07-11 14:34:59 -04:00
97352f8d75
Added Makefile 2023-07-11 14:33:23 -04:00
ffc9d2f43f
Updated Project_Default.xml 2023-07-11 14:32:39 -04:00
a8f8bde245
Updated php.xml 2023-07-11 14:32:33 -04:00
e1d27c883a
Refactored codebase to be more maintainable, readable & more optimized 2023-07-11 14:32:27 -04:00
c45635bc72
Updated php.xml 2023-07-11 14:27:27 -04:00
0a8bb3a607
Refactored codebase to be more maintainable, readable & more optimized 2023-07-11 14:27:21 -04:00
87fac4d19c
Merged str_replace functions 2023-07-11 14:15:38 -04:00
286868933e
Updated CHANGELOG.md 2023-07-11 13:55:57 -04:00
d1ada4667d
Updated CHANGELOG.md 2023-07-11 13:53:42 -04:00
822ae9ac76
ConfigurationLib will now attempt to load configuration files from Environment Variables if they are set, for example if com.example.application wants to load ExampleConfiguration it will first check if CONFIGLIB_EXAMPLECONFIGURATION is set, and if so, load that file instead of the default example-configuration.yml file. If the file is not found, it will resort to its default behavior. You can either load an original json configuration file which is usually located at \var\ncc\data\net.nosial.configlib as one of the .conf files, or you can load a yml which is the same one you usually use to import or edit configurations. 2023-07-11 13:53:24 -04:00
8c69851ac2
Bumped version to 1.0.1 2023-07-11 13:35:59 -04:00