Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# WordPress
.DS_Store
Thumbs.db

# IDEs and editors
/.idea
/.vscode
*.sublime-project
*.sublime-workspace
*.swp
*.swo
*~

# Composer
/vendor/
composer.lock

# npm
node_modules/
package-lock.json

# Build files
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# OS files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Temporary files
*.tmp
*.bak
*.cache

# PHPStorm
.idea/

# VS Code
.vscode/

# Sass
.sass-cache/
*.css.map
*.sass.map
*.scss.map
125 changes: 125 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Changelog

All notable changes to the CA WooCommerce Quick View plugin will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2024-11-03

### Added
- Nonce verification for all AJAX requests for enhanced security
- ESC key support to close Quick View modal
- Click outside modal to close functionality
- Comprehensive README.md (English) for end users
- Detailed README-DEVELOPER.md (Bengali/বাংলা) for developers
- CHANGELOG.md file for tracking version history
- .gitignore file for better repository management
- ARIA labels for improved accessibility
- Button hover effects and smooth transitions
- Focus states for better keyboard navigation
- Disabled state styling for buttons
- Tablet responsive breakpoint (601px-1024px)
- Enhanced admin settings page with helpful links
- Documentation links in admin panel
- Support links in admin panel

### Changed
- Modernized JavaScript code with ES6+ syntax
- Improved error handling in AJAX callbacks
- Enhanced PHP code with better type checking
- Better input sanitization across the codebase
- Improved output escaping for security
- Updated readme.txt with detailed changelog and FAQ
- Enhanced mobile responsive design
- Better loader background opacity
- Improved code documentation and inline comments
- Updated version constant from 1.0 to 1.2

### Fixed
- Typo in default button label: 'Qiuck View' → 'Quick View'
- Missing activation date storage in plugin activator
- Version mismatch between plugin header and class constant
- Redundant wp_die() call after wp_send_json_error()
- Missing product existence validation
- Improper escaping in some template files
- Unused $loop variable in gallery function

### Security
- Added nonce verification to `cawqv_get_product_callback()`
- Added nonce verification to `cawqv_woocommerce_ajax_add_to_cart()`
- Localized nonce in JavaScript for add-to-cart functionality
- Improved input validation and sanitization
- Enhanced output escaping throughout templates
- Better capability checks for admin functions

### Removed
- Unused global $woocommerce variable in gallery function
- Redundant wp_die() calls after wp_send_json functions

## [1.1.0] - 2022-04-16

### Fixed
- Minor bug fixes
- Compatibility improvements

### Changed
- Updated WooCommerce compatibility

## [1.0.0] - Initial Release

### Added
- Initial plugin release
- Quick View modal functionality
- AJAX add to cart
- Product gallery with Swiper slider
- Live customization through WordPress Customizer
- Multiple animation options
- Color customization
- Responsive design
- WooCommerce integration

---

## Upgrade Guide

### Upgrading to 1.2.0

This version includes important security improvements and bug fixes. No breaking changes are introduced.

**Steps:**
1. Backup your site
2. Update the plugin through WordPress admin or manually
3. No additional configuration needed - all settings are preserved

**Notes:**
- All existing customizations will continue to work
- The default button label will be corrected to 'Quick View'
- New features (ESC key, click outside) are automatically enabled

### Future Versions

We're planning these features for upcoming releases:
- Additional animation effects
- More customization options
- Page builder integration
- Social sharing in quick view
- Product comparison feature
- Recently viewed products

---

## Support

For questions, issues, or feature requests:
- [GitHub Issues](https://github.com/codersaiful/ca-quick-view/issues)
- [WordPress Support Forum](https://wordpress.org/support/plugin/ca-woocommerce-quick-view/)
- Email: codersaiful@gmail.com

## Contributing

Contributions are welcome! Please see our contributing guidelines in README-DEVELOPER.md (বাংলা).

## License

This project is licensed under GPL-2.0+ - see LICENSE.txt for details.
Loading