AzureDevOpsBackup:
- Added an option to set mail server SSL (Secure Sockets Layer) to true or false in the email report with argument: '--nossl'
AzureDevOpsBackup:
- Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability (System.Text.Json 8.0.4 > 8.0.5)
- CRLF Injection CVE-2024-45302 | RestSharp's
RestRequest.AddHeader
method (RestSharp 111.4.1 > 112.1.0)
AzureDevOpsBackup:
- Added support for the old organization URL format (https://organization.visualstudio.com) in the backup tool, so the tool now supports both the new and old URL format if you have not updated your organization URL to the new format (https://dev.azure.com/{organization}).
- Fixed a bug in the backup tool, where the tool would crach if it not could create the log file in the log folder.
- Fixed a bug where the log files folder was not created if it not exists.
AzureDevOpsBackupUnzipTool:
- Added a bit more logging to the unzip tool to show the progress of the unzip process.
Major update with new features and bug fixes
- Added a new tool (AzureDevOpsBackupUnzipTool) to the application, there let you unzip backups from .zip files based on the backup folder with the metadata files (.json), so the backups can be restored for a single project to save disk space vs unzipping all based on how many projects you have to backup, if you only need to restore a single project and not want to unzip the whole backup for all projects:
- Sample command:
.\AzureDevOpsBackupUnzipTool.exe --zipFile "C:\Temp\Test\master_blob.zip" --output "C:\Temp\Test\Test" --jsonFile "C:\Temp\Test\tree.json"
- Sample command:
- An option to not attach the logfile to the email report with argument: '--noattatchlog'
- Added support to send email report to multiple recipients with argument: '--to' - separated by comma
- Changed default install folder name (reflects only the installer)
- Changed logfile location in the '.\Log' folder - now in a subfolder the the 2 tools to it not being mixed and supports for cleanup:
- AzureDevOpsBackupTool.exe: '.\Logs\Backup'
- AzureDevOpsBackupUnzipTool.exe: '.\Logs\Unzip tool'
- A lot documentation and help text overall fixed/added
- Upgraded RestSharp.111.3.0 to RestSharp.111.4.1
- Fix an exception has been thrown (Installer bug)
- Fixed some assembly references
- Upgraded System.Text.Json.8.0.3 to System.Text.Json.8.0.4 (fix CVE-2024-30105)
- Upgraded RestSharp.110.2.0 to RestSharp.111.3.0
- Small typos in logging
- Small typos in tool in general
- Sanitize directory name(s) to avoid path error(s) in backups and cleanup
- Some code cleanup and optimization
- Upgraded Microsoft.Bcl.AsyncInterfaces.7.0.0 to Microsoft.Bcl.AsyncInterfaces.8.0.0
- Upgraded System.Text.Encodings.Web.7.0.0 to System.Text.Encodings.Web.8.0.0
- Upgraded System.Text.Json.7.0.3 to System.Text.Json.8.0.3
- Upgraded RestSharp from 106.15.0.0 to 110.2.0
- Fix special characters in branch name to avoid path error when saving backups
- The program now saves files using the DownloadStream method, allowing large files to download without crash and useing async.
- Add link to blog in about
- Typos in report layout
- Changes for better logfile layout/formatting
- Upgraded System.Text.Json to 7.0.3
- Added function to count current numers of backups in backup folder and report to email report
- Added function test connection to REST API - if not connected, it will show the error details
- Added function to test if needed system requrements is set
- Some changes to help text
- Fixed report status check for original .zip files letover in backup (if clenup parameter is set)
- Fixed wrong number of current backups in backup folder in email report
- Added Class to secure the token for authentication to the Azure DevOps API form an encrypted .bin file based in hardware id for the hardware the .bin file is generated on
- Some changes to help text
- Added Class to secure the token for authentication to the Azure DevOps API in console runtime
- Small changes and optimization
- Now the logfile is named correct again under some conditions
- Added new parameter to set email priority
- Now the log is attathed to to e-mail report again
- Reorder the backup cleanup of the code to Classes
- Added new parameter for information about the tool in console
- Reorder the most of the code to Classes
- Updated Newtonsoft.Json and System.Text.Json to the last versions
- Renamed argument for backup folder from --outdir to --backup
- Other Small changes and optimization
- Upgraded to .Net 4.8
- Small changes and optimization
- Added branch name to list of repos there is backed up to email report
- Added orgname to email report
- Added backup start and end time timestamp to email report
- Small changes to email report text
- Changed backup feature to backup all branches prom Git project(s)
- Small cleanup in email function
- Small changes to logning
Use new code sign certificate
- Checked api uses - no changes in API calls, so set to api-version=7.0 (api-version=5.1-preview.1 before)
- Small cleanup in email function
- CWE-691: Insufficient Control Flow Management in code
- Minor code use issues
- Remove unused check for data in a function
- Small changes to email function
- Fixed vulnerable Incorrect Regular Expression in RestSharp (CVE-2021-27293)
- Fixed vulnerable Improper Handling of Exceptional Conditions in Newtonsoft.Json (GHSA ID GHSA-5crp-9r3c-p9vr)
- Small changes to email text
- Missing email text for missing email status text for backups to keep (status)
Now signed with Code Sign Certificate from Sectigo
- Fix no arguments is set - show the help in console
- Error handling if files cant be deletes
- Better email status/added some of the missing statuses (still more to do)
- args.Length > 0' is always true
- Help menu
- Error handling if files cant be deleted
- Count errors and add to email report
- Changes to log text
- Changes to arguments names
- Small changes to email function
- Reordered some code/functions for better application
- Created an installer for the project
- Fix no logging when email function reads logfile when sending report
- Added more logging and error handling
- Added option to use simpel or full email report layout
- Changed Assembly Title
- Small typos
- Code cleanup and added better mail status text
- Added more logging and error handling
- New email rapport layout and small typos
- Initial release