You've already forked wp-fedistream
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 96269eb355 | |||
| 01c256349f | |||
| 38377f11e0 |
10
CHANGELOG.md
10
CHANGELOG.md
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.1.1] - 2026-01-28
|
||||
|
||||
### Fixed
|
||||
|
||||
- WooCommerce product types (FediStream Album/Track) not appearing in product type selector
|
||||
- Fixed timing issue where WooCommerce integration hooks were registered too late during `plugins_loaded`
|
||||
|
||||
## [0.1.0] - 2026-01-28
|
||||
|
||||
Initial release of WP FediStream - a WordPress plugin for streaming music over ActivityPub.
|
||||
@@ -139,5 +146,6 @@ Initial release of WP FediStream - a WordPress plugin for streaming music over A
|
||||
|
||||
---
|
||||
|
||||
[Unreleased]: https://src.bundespruefstelle.ch/magdev/wp-fedistream/compare/v0.1.0...HEAD
|
||||
[Unreleased]: https://src.bundespruefstelle.ch/magdev/wp-fedistream/compare/v0.1.1...HEAD
|
||||
[0.1.1]: https://src.bundespruefstelle.ch/magdev/wp-fedistream/compare/v0.1.0...v0.1.1
|
||||
[0.1.0]: https://src.bundespruefstelle.ch/magdev/wp-fedistream/releases/tag/v0.1.0
|
||||
|
||||
61
CLAUDE.md
61
CLAUDE.md
@@ -24,14 +24,12 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w
|
||||
|
||||
**Note for AI Assistants:** Clean this section after the specific features are done or new releases are made. Effective changes are tracked in `CHANGELOG.md`. Do not add completed versions here - document them in the Session History section at the end of this file.
|
||||
|
||||
### Version 0.1.0
|
||||
### Version 0.1.2 (Bugfix)
|
||||
|
||||
- Document all relevant implementation details in CLAUDE.md, drop PLAN.md, because we don't need it anymore. All relevent Infos are kept in CLAUDE.md from now on
|
||||
- Drop the current versioning, as this will be version 0.1.0. Merge the history contents in CHANGELOG.md into as single version 0.1.0
|
||||
- Update the README.md according to the last changes and current implementation
|
||||
- Commit the current sources to dev, merge it to main, tag it as 0.1.0 and push it all to origin
|
||||
- Cleanup this Version entry from the temporary raodmap and create to empty sections for the next bugfix-version and the minor version.
|
||||
- Call `/end-session`
|
||||
### Version 0.2.0 (Minor)
|
||||
|
||||
- Add a link to the settings page to the plugin overview page.
|
||||
- Write a comprehensive user-guide on how to install, configure and get the plugin with all available features up and running
|
||||
|
||||
## Technical Stack
|
||||
|
||||
@@ -353,3 +351,52 @@ wp-fedistream/
|
||||
---
|
||||
|
||||
## Session History
|
||||
|
||||
### 2026-01-28 - Initial Release v0.1.0
|
||||
|
||||
**Summary:** Consolidated all development phases (0.0.1 through 0.7.0) into initial release v0.1.0.
|
||||
|
||||
**Completed:**
|
||||
|
||||
- Implemented Phase 6 (WooCommerce Integration):
|
||||
- Custom product types for albums and tracks
|
||||
- Pricing models (Fixed, PWYW, NYP)
|
||||
- Digital delivery with secure downloads
|
||||
- Streaming access control based on purchases
|
||||
- Implemented Phase 7 (User Interactions):
|
||||
- User library with favorites, follows, history
|
||||
- Notification system (in-app and email)
|
||||
- Library shortcode and frontend page
|
||||
- Consolidated documentation:
|
||||
- Moved implementation details from PLAN.md to CLAUDE.md
|
||||
- Deleted PLAN.md (no longer needed)
|
||||
- Merged all changelog entries into single v0.1.0 release
|
||||
- Updated README.md with current features
|
||||
- Git operations:
|
||||
- Created initial commit on dev branch
|
||||
- Merged to main branch
|
||||
- Tagged as v0.1.0
|
||||
- Push pending (requires credentials)
|
||||
|
||||
**Files Created:**
|
||||
|
||||
- `includes/WooCommerce/Integration.php`
|
||||
- `includes/WooCommerce/AlbumProduct.php`
|
||||
- `includes/WooCommerce/TrackProduct.php`
|
||||
- `includes/WooCommerce/DigitalDelivery.php`
|
||||
- `includes/WooCommerce/StreamingAccess.php`
|
||||
- `includes/User/Library.php`
|
||||
- `includes/User/LibraryPage.php`
|
||||
- `includes/User/Notifications.php`
|
||||
- `assets/js/library.js`
|
||||
- `assets/js/notifications.js`
|
||||
|
||||
**Files Deleted:**
|
||||
|
||||
- `PLAN.md`
|
||||
|
||||
**Notes:**
|
||||
|
||||
- Successfully pushed dev, main branches and v0.1.0 tag to origin
|
||||
- Remote URL updated from HTTPS to SSH for authentication
|
||||
- First release is now live at the repository
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Stream music over ActivityPub - Build your own music streaming platform for Musicians and Labels.
|
||||
|
||||
[](CHANGELOG.md)
|
||||
[](CHANGELOG.md)
|
||||
[](https://php.net)
|
||||
[](https://wordpress.org)
|
||||
[](https://www.gnu.org/licenses/gpl-2.0.html)
|
||||
|
||||
@@ -28,8 +28,16 @@ class Integration {
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
add_action( 'plugins_loaded', array( $this, 'check_woocommerce' ), 5 );
|
||||
add_action( 'plugins_loaded', array( $this, 'init' ), 20 );
|
||||
// Check WooCommerce immediately since we're instantiated during plugins_loaded.
|
||||
$this->check_woocommerce();
|
||||
|
||||
// If plugins_loaded hasn't fully completed, hook init at priority 20.
|
||||
// Otherwise, run init directly.
|
||||
if ( ! did_action( 'plugins_loaded' ) || doing_action( 'plugins_loaded' ) ) {
|
||||
add_action( 'plugins_loaded', array( $this, 'init' ), 20 );
|
||||
} else {
|
||||
$this->init();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Plugin Name: WP FediStream
|
||||
* Plugin URI: https://src.bundespruefstelle.ch/magdev/wp-fedistream
|
||||
* Description: Stream music over ActivityPub - Build your own music streaming platform for Musicians and Labels.
|
||||
* Version: 0.1.0
|
||||
* Version: 0.1.1
|
||||
* Requires at least: 6.4
|
||||
* Requires PHP: 8.3
|
||||
* Author: Marco Graetsch
|
||||
@@ -26,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
define( 'WP_FEDISTREAM_VERSION', '0.1.0' );
|
||||
define( 'WP_FEDISTREAM_VERSION', '0.1.1' );
|
||||
|
||||
/**
|
||||
* Plugin file path.
|
||||
|
||||
Reference in New Issue
Block a user