{"id":23653011,"url":"https://github.com/WebDevStudios/media-file-versioning","last_synced_at":"2025-09-01T04:31:34.167Z","repository":{"id":267897313,"uuid":"898695431","full_name":"WebDevStudios/media-file-versioning","owner":"WebDevStudios","description":"Track and manage versions of media files in the WordPress media library.","archived":false,"fork":false,"pushed_at":"2025-02-04T02:14:34.000Z","size":170,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T07:33:06.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebDevStudios.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-04T21:28:38.000Z","updated_at":"2025-06-18T20:22:21.000Z","dependencies_parsed_at":"2025-02-04T02:30:47.975Z","dependency_job_id":"3240c4c0-f4da-453b-a175-43864f4b427a","html_url":"https://github.com/WebDevStudios/media-file-versioning","commit_stats":null,"previous_names":["robertdevore/media-file-versioning","webdevstudios/media-file-versioning"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/WebDevStudios/media-file-versioning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fmedia-file-versioning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fmedia-file-versioning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fmedia-file-versioning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fmedia-file-versioning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDevStudios","download_url":"https://codeload.github.com/WebDevStudios/media-file-versioning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fmedia-file-versioning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273073169,"owners_count":25040674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-28T17:39:27.426Z","updated_at":"2025-09-01T04:31:33.774Z","avatar_url":"https://github.com/WebDevStudios.png","language":"PHP","readme":"# Media File Versioning\n\nA WordPress® plugin to track and manage versions of media files in the WordPress® Media Library. \n\nThis plugin allows you to upload new versions of media files, maintain a history of previous versions, and seamlessly display these versions in the WordPress® admin interface and on the front end.\n\n\n## Features\n\n- **Version Control**: Automatically saves previous versions of media files when a new version is uploaded.\n- **Easy Uploads**: Upload new versions directly from the Media Library.\n- **Admin Interface**: View the current version and a list of previous versions in a user-friendly interface.\n- **Shortcode Support**: Display the current and previous versions on the front end using a simple shortcode.\n- **Customizable Display**: Automatically orders versions from most recent to oldest for better readability.\n\n## Installation\n\n1. **Download the Plugin**  \nClone or download this repository as a ZIP file.\n\n```\ngit clone https://github.com/robertdevore/media-file-versioning.git\n```\n\n2. **Install the Plugin**\n\n    - Log in to your WordPress® admin dashboard.\n    - Go to `Plugins \u003e Add New \u003e Upload Plugin`.\n    - Upload the `media-file-versioning.zip` file.\n    - Activate the plugin.\n3. **You're Ready!**\n\n## Usage\n\n### 1. **Managing Media Versions**\n\n- Go to the **Media Library**.\n- Edit an existing media item.\n- Use the **Media Versioning** meta box to:\n    - Upload a new version.\n    - View the current version and all previous versions.\n\n### 2. **Shortcode**\n\nUse the `[mfv]` shortcode to display versions on the front end.\n\n#### Shortcode Attributes:\n\n- `id`: (Required) The ID of the media item.\n\n#### Example:\n```\n[mfv id=\"123\"]\n```\n\nThis will display the current and previous versions of the media item with ID 123 in a structured format.\n\n## Meta Box Interface\n\nThe plugin adds a **Media Versioning** meta box to the media edit screen:\n- **Current Version**: Displays the current file, including its name and upload time.\n- **Previous Versions**: Lists previous versions in descending order (most recent first) under a single heading.\n\n## JavaScript Integration\n\n### Admin UI\n\nThe plugin includes JavaScript to:\n\n- Dynamically update the version list after a new file is uploaded.\n- Reverse the order of previous versions for consistent display.\n\n## Contributing\n\nWe welcome contributions to enhance the functionality of this plugin. To contribute:\n\n1. Fork the repository.\n2. Create a feature branch:\n\n```\ngit checkout -b feature/your-feature-name\n```\n\n3. Commit your changes:\n\n```\ngit commit -m \"Add your feature description here\"\n````\n\n4. Push to your branch:\n\n````\ngit push origin feature/your-feature-name\n````\n\n5. Create a Pull Request on GitHub.\n\n## Support\n\nIf you encounter issues or have feature requests, please [open an issue](https://github.com/robertdevore/media-file-versioning/issues).\n\n## License\n\nThis plugin is licensed under the [GPL-2.0+ License](http://www.gnu.org/licenses/gpl-2.0.txt).\n* * *","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebDevStudios%2Fmedia-file-versioning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWebDevStudios%2Fmedia-file-versioning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebDevStudios%2Fmedia-file-versioning/lists"}