Skip to content

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AbyssMorgan committed Sep 14, 2024
1 parent dd0d430 commit 02935c0
Show file tree
Hide file tree
Showing 69 changed files with 3,392 additions and 3,211 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.ave-php linguist-language=PHP
*.ngcs linguist-language=PHP
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup/*.exe
Setup/*.gz
AVE-PHP-CRASH-*.txt
NGC-TOOLKIT-CRASH-*.txt
sync.ffs_db
composer.lock
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"files.associations": {
"*.ave-php": "php",
"*.ngcs": "php",
},
"editor.insertSpaces": false,
"php.stubs": [
"*",
"imagick"
],
"php.version": "8.3"
"php.version": "8.3",
"php.problems.exclude": {
"/": [7001,7103]
}
}
12 changes: 0 additions & 12 deletions AVE-PHP.cmd

This file was deleted.

3 changes: 0 additions & 3 deletions AVE-PHP.sh

This file was deleted.

28 changes: 0 additions & 28 deletions BuildLinux.ave-php

This file was deleted.

29 changes: 29 additions & 0 deletions BuildLinux.ngcs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@AppType NGC_SCRIPT 2.3.0
<?php
$app_name = 'NGC-TOOLKIT';

$version = file_get_contents($this->core->get_path("$this->path/version"));

$this->core->title("$app_name Builder v$version");

$output = "$this->path/Setup";
$zip_name_a = $this->core->get_path("$output/{$app_name}_v{$version}_LINUX.tar");
$this->core->delete($zip_name_a);

$zip_name_b = $this->core->get_path("$output/{$app_name}_v{$version}_LINUX.tar.gz");
$this->core->delete($zip_name_b);

$this->core->echo(" Compress \"$zip_name_a\"");
$this->core->exec("7z", "a -mx0 -ttar -- \"$zip_name_a\" \"includes\" \"vendor\" \"bin\*.sh\" \"composer.json\" \"Changelog.txt\" \"LICENSE\"");

$this->core->echo(" Compress \"$zip_name_b\"");
$this->core->exec("7z", "a -mx9 -tgzip -- \"$zip_name_b\" \"$zip_name_a\"");

$this->core->delete($zip_name_a);

if(file_exists($zip_name_b)){
$this->core->pause(" Operation done, press any key to back to menu");
} else {
$this->core->pause(" Failed compress files.");
}
?>
42 changes: 21 additions & 21 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v2.3.0:
- Updated tool "Media Tools > Video: Fetch media info" changed default file name from "AveMediaInfo" to "MediaInfo"

v2.2.5:
- Fixes

Expand All @@ -6,7 +9,7 @@ v2.2.2:
- Updated tool: Media Tools > Video: Fetch media info: Added output folder setup

v2.2.0:
- Update AVE-UTILITIES v1.1.0:
- Update NGC-UTILITIES v1.1.0:
1) Update PHP to v8.3.7
2) Update 7Z to v23.01
3) Update ffmpeg to version 2024-05-16 12:54
Expand All @@ -21,7 +24,7 @@ v2.1.0:
- Added tool: Directory Names Editor > Remove keywords from directory name
- Added tool: Directory Names Editor > Insert string into directory name
- Added tool: Directory Names Editor > Replace keywords in directory name
- Rebuild AveCore and separated libraries that can be used without AVE-PHP
- Rebuild NGC\Core and separated libraries that can be used without NGC-TOOLKIT

v2.0.1:
- Improved tool: File Functions > Anti Duplicates (added mode a3 and b3 - detect duplicates and write logs only)
Expand All @@ -34,8 +37,8 @@ v2.0.0:
- Fixed FTP Tools > Import FileZilla XML (Now you can import xml with single server)

v1.9.6:
- Tool: Generate video: CheckSum/Resolution/Thumbnail now can generate checksum for audio defined by AVE_EXTENSIONS_AUDIO
- Added compression .ave-guard in tool Check File Integrity
- Tool: Generate video: CheckSum/Resolution/Thumbnail now can generate checksum for audio defined by EXTENSIONS_AUDIO
- Added compression .ngc-guard in tool Check File Integrity
- Replace FTP command mlsd to rawlist due to lack support of some FTP servers

v1.9.5:
Expand All @@ -52,15 +55,15 @@ v1.9.3:

v1.9.2:
- Compatibility updates for Linux operating system
- Added config AVE_OPEN_FILE_BINARY
- Move config to %LOCALAPPDATA%\AVE-PHP
- Added config OPEN_FILE_BINARY
- Move config to %LOCALAPPDATA%\NGC-TOOLKIT

v1.9.1:
- Improved media quality detection
- Added config AVE_COMPRESS_LEVEL_WEBP, AVE_COMPRESS_LEVEL_PNG, AVE_COMPRESS_LEVEL_JPEG, AVE_COMPRESS_LEVEL_GIF
- Added config COMPRESS_LEVEL_WEBP, COMPRESS_LEVEL_PNG, COMPRESS_LEVEL_JPEG, COMPRESS_LEVEL_GIF

v1.9.0:
- Added capturing extra arguments for .ave-php scripts (this feature need reinstall .ave-php script support)
- Added capturing extra arguments for .ngcs scripts (this feature need reinstall .ngcs script support)
- Added tool: FTP Tools > Configure connection
- Added tool: FTP Tools > Remove connection
- Added tool: FTP Tools > Open config folder
Expand All @@ -76,16 +79,16 @@ v1.9.0:
- Added tool: Media Sorter > Sort Folders: Items quantity (First parent)
- Improved tool: Media Sorter > Sort Images: Colors count (Added more groups)
- Improved tool: Media Tools > Video: Fetch media info (Save .csv results and .ini cache in input directory)
- Improved tool: File Functions > Anti Duplicates (Implement AVE_IGNORE_VALIDATE_EXTENSIONS and AVE_IGNORE_VALIDATE_FILES)
- Improved tool: File Names Editor > CheckSum (Implement AVE_IGNORE_VALIDATE_EXTENSIONS and AVE_IGNORE_VALIDATE_FILES)
- Improved tool: File Functions > Anti Duplicates (Implement IGNORE_VALIDATE_EXTENSIONS and IGNORE_VALIDATE_FILES)
- Improved tool: File Names Editor > CheckSum (Implement IGNORE_VALIDATE_EXTENSIONS and IGNORE_VALIDATE_FILES)
- Improved tool: MySQL Tools > Fetch data base info (Analyze table before fetch informations)
- Improved tool: MySQL Tools > Compare data base info (Analyze table before fetch informations)
- Merged config AVE_QUALITY_SUFFIX_HORIZONTAL, AVE_QUALITY_SUFFIX_SQUARE, AVE_QUALITY_SUFFIX_VERTICAL into AVE_QUALITY_SUFFIX
- Removed config param AVE_FILE_COUNT_FORMAT, AVE_BACKUP_MAX_ALLOWED_PACKET
- Merged config QUALITY_SUFFIX_HORIZONTAL, QUALITY_SUFFIX_SQUARE, QUALITY_SUFFIX_VERTICAL into QUALITY_SUFFIX
- Removed config param FILE_COUNT_FORMAT, BACKUP_MAX_ALLOWED_PACKET
- Fixes and optimizations

v1.8.0:
- Added tool: Help > Install .ave-php script support (administrator required). After install this feature you can execute PHP scripts by change extension into .ave-php
- Added tool: Help > Install .ngcs script support (administrator required). After install this feature you can execute PHP scripts by change extension into .ngcs
- Added tool: Media Sorter > Sort Media: Duration
- Added tool: File Names Editor > Replace keywords in file name
- Added tool: MySQL Tools > Fetch data base info
Expand Down Expand Up @@ -128,8 +131,7 @@ v1.7.0:
- Updated tool: File Names Editor > Remove keywords from file name: Trim name after remove all keywords

v1.6.0:
- Now AVE-PHP is separated into AVE-PHP and AVE-UTILITIES Setup (AVE-UTILITIES contains binaries that dont need update every time)
- Merged CommandLine service into AveCore V3
- Now NGC-TOOLKIT is separated into NGC-TOOLKIT and NGC-UTILITIES Setup (NGC-UTILITIES contains binaries that dont need update every time)
- Improve performance for MySQL Tools > Make backup and MySQL Tools > Clone DB1 to DB2
- MySQL Tools: When an error is occurred during the backup, the table will be skipped with an error entry
- MySQL Tools: Changed params order for connection setup
Expand All @@ -139,8 +141,8 @@ v1.6.0:
- Added tool: MySQL Tools > Backup selected tables
- Added tool: Help
- Added tool: File Functions > Random file generator
- Removed config param AVE_MAX_MEMORY_LIMIT now AVE-PHP will be work without memory limit
- Added missing config in documentation AVE_COLOR
- Removed config param MAX_MEMORY_LIMIT now NGC-TOOLKIT will be work without memory limit
- Added missing config in documentation COLOR
- Added ability to set tool and sub tool at once by typing <tool id>.<sub tool id> example if you type 0 0 then press any key then you will be redirected to File Names Editor > Generate names: CheckSum
- Added flags into tool: File Names Editor > Pretty file name (New flags: Replace language characters, Chinese to PinYin, Hiragama to Romaji, Katakana to Romaji)

Expand All @@ -157,8 +159,7 @@ v1.5.1:

v1.5.0:
- Improve navigation (don't exit app after operation)
- Move config to %LOCALAPPDATA%\AVE
- Overwrite user config for keys AVE_LOG_FOLDER, AVE_DATA_FOLDER, AVE_EXTENSIONS_AUDIO
- Overwrite user config for keys LOG_FOLDER, DATA_FOLDER, EXTENSIONS_AUDIO
- Added option for open config folder

v1.4.5:
Expand All @@ -177,7 +178,6 @@ v1.4.2:
v1.4.1:
- Added tool: MySQL Tools > Clone DB1 to DB2 (overwrite)
- Fixes and improvements for MySQL Tools
- Fixes set path on AVE-PHP.cmd

v1.4.0:
- Fixes and improvements for Check File Integrity
Expand All @@ -202,7 +202,7 @@ File Names Editor > Remove YouTube quality tag
File Names Editor > Series episode editor
- Directory Functions > Clone folder structure
- Check for updates
- Added new params to config AVE_LOG_EVENT, AVE_LOG_ERROR, AVE_IGNORE_VALIDATE_EXTENSIONS, AVE_EXTENSIONS_VIDEO_FOLLOW, AVE_EXTENSIONS_AUDIO
- Added new params to config LOG_EVENT, LOG_ERROR, IGNORE_VALIDATE_EXTENSIONS, EXTENSIONS_VIDEO_FOLLOW, EXTENSIONS_AUDIO
- Fixes

v1.2.0:
Expand Down
Binary file added NGC-TOOLKIT.ico
Binary file not shown.
25 changes: 12 additions & 13 deletions AVE-PHP.iss → NGC-TOOLKIT.iss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#define MyAppName "AVE-PHP"
#define MyAppVersion "2.2.5"
#define MyAppName "NGC-TOOLKIT"
#define MyAppVersion "2.3.0"
#define MyAppPublisher "Abyss Morgan"
#define MyAppURL "https://github.com/AbyssMorgan"
#define MyAppExeName "AVE-PHP.cmd"
#define MyAppExeName "Toolkit.cmd"

[Setup]
ArchitecturesInstallIn64BitMode=x64
AppId={{2758257E-4810-4342-8230-A2176ED1A833}
AppId={{5B983545-1D38-47CD-9890-0926E0E312CD}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName}
Expand All @@ -15,17 +15,17 @@ AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
VersionInfoVersion={#MyAppVersion}.0
VersionInfoDescription=AVE-PHP v{#MyAppVersion}
DefaultDirName={autopf}\AVE-PHP
VersionInfoDescription=NGC-TOOLKIT v{#MyAppVersion}
DefaultDirName={autopf}\NGC-TOOLKIT
DisableDirPage=no
DefaultGroupName={#MyAppName}
OutputDir={#SourcePath}\Setup
OutputBaseFilename=AVE-PHP_v{#MyAppVersion}
OutputBaseFilename=NGC-TOOLKIT_v{#MyAppVersion}
Compression=lzma
SolidCompression=yes
WizardStyle=modern
Uninstallable=yes
SetupIconFile={#SourcePath}\ave-php.ico
SetupIconFile={#SourcePath}\NGC-TOOLKIT.ico
DisableProgramGroupPage=yes

[Languages]
Expand All @@ -37,15 +37,14 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
[Files]
Source: "{#SourcePath}\includes\*"; DestDir: "{app}\includes"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#SourcePath}\vendor\*"; DestDir: "{app}\vendor"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#SourcePath}\commands\*"; DestDir: "{app}\commands"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#SourcePath}\AVE-PHP.cmd"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\bin\*.cmd"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#SourcePath}\LICENSE"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\ave-php.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\NGC-TOOLKIT.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\Changelog.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\composer.json"; DestDir: "{app}"; Flags: ignoreversion

[Icons]
Name: "{userdesktop}\{#MyAppName}"; Filename: "{cmd}"; Parameters: "/c ""{app}\{#MyAppExeName}"""; WorkingDir: "{app}"; IconFilename: "{app}\ave-php.ico"; Tasks: desktopicon
Name: "{userdesktop}\{#MyAppName}"; Filename: "{cmd}"; Parameters: "/c ""{app}\bin\{#MyAppExeName}"""; WorkingDir: "{app}"; IconFilename: "{app}\NGC-TOOLKIT.ico"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Filename: "{app}\bin\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## AVE-PHP
## NGC-TOOLKIT
Windows console tool for media

#### Functionality and how to use
- [How to install](https://github.com/AbyssMorgan/AVE-PHP/wiki/HowToInstall)
- [Wiki](https://github.com/AbyssMorgan/AVE-PHP/wiki)
- [How to install](https://github.com/AbyssMorgan/NGC-TOOLKIT/wiki/HowToInstall)
- [Wiki](https://github.com/AbyssMorgan/NGC-TOOLKIT/wiki)

#### Requirements (Windows)
- Operating system: Windows 7, 8, 8.1, 10, 11
Expand Down
Binary file removed ave-php.ico
Binary file not shown.
Binary file removed ave-php.png
Binary file not shown.
11 changes: 11 additions & 0 deletions bin/MakeBackup.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@ECHO OFF
chcp 65001
CD /D "%~dp0\.."
CLS
SET PHP=%PROGRAMFILES%\NGC-UTILITIES\php\8.3
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\imagick" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT
IF NOT EXIST "%PHP%" ECHO.&ECHO NGC-UTILITIES PHP 8.3 is required&ECHO.&PAUSE>nul&EXIT
SET PATH=%PATH%;%PHP%;%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0;%PROGRAMFILES%\NGC-UTILITIES\imagick
"%PHP%\php.exe" "%CD%\includes\toolkit.php" --make-backup "%~1"
GOTO :eof
11 changes: 11 additions & 0 deletions bin/Script.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@ECHO OFF
chcp 65001
CD /D "%~dp0\.."
CLS
SET PHP=%PROGRAMFILES%\NGC-UTILITIES\php\8.3
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\imagick" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT
IF NOT EXIST "%PHP%" ECHO.&ECHO NGC-UTILITIES PHP 8.3 is required&ECHO.&PAUSE>nul&EXIT
SET PATH=%PATH%;%PHP%;%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0;%PROGRAMFILES%\NGC-UTILITIES\imagick
"%PHP%\php.exe" "%CD%\includes\script.php" %*
GOTO :eof
12 changes: 12 additions & 0 deletions bin/Toolkit.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@ECHO OFF
chcp 65001
CD /D "%~dp0\.."
CLS
SET PHP=%PROGRAMFILES%\NGC-UTILITIES\php\8.3
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\imagick" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT
IF NOT EXIST "%PHP%" ECHO.&ECHO NGC-UTILITIES PHP 8.3 is required&ECHO.&PAUSE>nul&EXIT
SET PATH=%PATH%;%PHP%;%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0;%PROGRAMFILES%\NGC-UTILITIES\imagick
"%PHP%\php.exe" "%CD%\includes\toolkit.php" --interactive
PAUSE
GOTO :eof
3 changes: 3 additions & 0 deletions bin/Toolkit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cd "$(dirname "$0")"
/usr/bin/php8.3 "$PWD/../includes/toolkit.php" --interactive
11 changes: 0 additions & 11 deletions commands/AVE-BACKUP.cmd

This file was deleted.

11 changes: 0 additions & 11 deletions commands/AVE-PHP-SCRIPT.cmd

This file was deleted.

14 changes: 0 additions & 14 deletions example.ave-php

This file was deleted.

Loading

0 comments on commit 02935c0

Please sign in to comment.