Skip to content

Doxswap v1.0.0#6

Merged
deemonic merged 6 commits intomainfrom
doxswap-v1.0.0
Mar 26, 2025
Merged

Doxswap v1.0.0#6
deemonic merged 6 commits intomainfrom
doxswap-v1.0.0

Conversation

@deemonic
Copy link
Copy Markdown
Collaborator

This pull request introduces several significant updates to the Doxswap package, focusing on expanding format support, enhancing the workflow, and updating documentation. Below is a summary of the most important changes:

Expanded Format Support:

  • Added support for various image formats (PNG, JPG, WEBP, GIF) in .gitattributes for Git LFS.
  • Updated README.md to reflect new image format support and detailed conversion tracking. [1] [2]

Workflow Enhancements:

  • Updated .github/workflows/main.yml to include Git LFS setup, additional PHP extensions, and new steps for listing files and installing Potrace for BMP to SVG conversion.

Configuration and Documentation Updates:

  • Updated README.md to include installation instructions for new dependencies (ImageMagick, Potrace) and detailed usage examples. [1] [2]
  • Updated config/config.php to include new file naming strategies and conversion drivers.

Codebase Updates:

  • Added new interfaces ConversionStrategy and ConvertibleFormat to support the new conversion functionalities. [1] [2]

Miscellaneous:

  • Updated composer.json to change the version and update dependencies. [1] [2]

These changes enhance the Doxswap package by adding support for more file formats, improving the workflow, and providing clearer documentation and configuration options.

* created conversion strategy interface

* added libreoffice and pandoc strategies

* added a new converter class

* added driver and drivers array to config

* added contructor to strategies

* wip conversion validator

* wip

* created InputFileNotFoundException

* added a driver override method

* created cleanup service

* implemented cleanup strategy

* wip

* finished FileHandler

* removed ConversionService

* added todo for LibreOffice strategy
* wip

* updated disk in libreoffice strategy

* minor refactor and test for Format Registry

* added OdtFormat to registry

* added RtfFormat to the registry

* added TxtFormat to registry

* added HtmlFormat to registry

* added XmlFormat to registry

* added XlsxFormat to registry

* added OdsFormat to registry

* added XlsFormat to registry

* added PptxFormat to registry

* added PptFormat to registry

* added OdpFormat to registry

* added SvgFormat to registry

* added JpgFormat to registry

* added PngFormat to registry

* added BmpFormat to registry

* added TiffFormat to registry

* updated strategies

* undo composer changes
* removed unused ConversionValidator

* added tests for cleanup

* added basic tests for Filename class

* added test for docx

* Add sample docs for integration tests

* debug mimetype

* updated libre_office path for gitgub action test

* workflow test

* workflow test

* test workflow

* test workflow

* tes workflow

* updated libre office path

* added fileinfo to php in workflow

* added logs for mime detection

* testing logging

* testing workflow

* testing workflow

* adedd lfs files to workflow

* removed log statements

* added tests for Doc and BMP formats

* added CSV tests

* added html, jpg and odp tests

* wip

* updated ods smaple file

* added detect mimetype from zip method

* odt and png tests added

* added ppt conversion test

* added pptx and rtf tests

* added svg tests

* added tiff tests

* addd txt tests

* added xls test

* added xlsx test

* added xml test

* added libre office path to laravel env environment

* updated libreoffice path

* debug bmp in workflow

* updated mime types to array

* set libre office path

* added image/x-ms-bmp to bmp mimetypes
* wip mark implementation

* wip markdown

* added imagick strategy + minor refactor

* refactored conversion result

* updated tests and added imagick to github workflow

* refactored cleanup service

* updated readme + added webp and gif support

* added tests for gif and webp

* adding gif and webp sample files

* updated cleanup class tests

* updated readme and testcase

* added potrace install to the workflow

* updated test case
@deemonic deemonic merged commit 7b25517 into main Mar 26, 2025
2 checks passed
@deemonic deemonic deleted the doxswap-v1.0.0 branch March 26, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant