Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpha release Jan 10 #184

Merged
merged 23 commits into from
Jan 10, 2025
Merged

Alpha release Jan 10 #184

merged 23 commits into from
Jan 10, 2025

Conversation

dkoo
Copy link
Contributor

@dkoo dkoo commented Jan 10, 2025

A new alpha release.

leogermani and others added 23 commits November 19, 2024 10:58
* feat: content distribution class

* feat: insert linked post

* refactor: use site url instead of ID

* chore: lint

* feat: return errors on post insert

* chore: lint

* feat: support webhooks request priority

* feat: unlink functionality and unit tests

* chore: lint

* feat: introduce 'linked_post_inserted' hook and listener

* chore: lint

* fix: listener hook name

* fix: typo

* chore: better docblocks

* chore: remove redundant code

* test: persist post hash

* test: remove unnecessary assertion

* refactor: distribute_post() to use handle_post_updated() method

* refactor: post hash is now network post id

* chore: update comment

* chore: Add CLI command for distribute

* feat: content distribution class (#155)

* feat: content distribution class

* feat: insert linked post

* refactor: use site url instead of ID

* chore: lint

* feat: return errors on post insert

* chore: lint

* feat: support webhooks request priority

* feat: unlink functionality and unit tests

* chore: lint

* feat: introduce 'linked_post_inserted' hook and listener

* chore: lint

* fix: listener hook name

* fix: typo

* chore: better docblocks

* chore: remove redundant code

* test: persist post hash

* test: remove unnecessary assertion

* refactor: distribute_post() to use handle_post_updated() method

* refactor: post hash is now network post id

* chore: update comment

* feat(content-distribution): prevent older content updating linked posts (#156)

* feat(content-distribution): handle post thumbnail (#157)

* Add network util class

* Almost done except for a few todos

* refactor: OOP for distributed and linked posts (#160)

* chore: Require php 8.1

* chore: Update to use util class

Also use new incoming/outgoing classes

* fix: Include correct classname

The old classname "Linked_Post" was still used instead of
"Incoming_Post" causing sync to fail.

## How to test
Probably eyeballing is enough

* chore: Add validation of outgoing post

Also move inclusion of the content distribution CLI class to better
respect the flag we are introdocuing

* chore: phpcs

* fix(content-distribution): debug post update and remove deprecated config (#165)

* fix: Don't return payload on all posts

* fix: post handling

* chore: move try-catch

* chore: Move check for networked urls

* Move more

* Move things again

* chore: Add a mock networked node

* chore: add one more node to the mock nodes

* Add a test

---------

Co-authored-by: Miguel Peixe <[email protected]>
* feat: limit purchase of a network membership WIP

* fix: validate checkout for logged out readers

* feat: improve error message

* fix: update copy

---------

Co-authored-by: Rasmy Nguyen <[email protected]>
@dkoo dkoo requested a review from a team as a code owner January 10, 2025 22:26
@dkoo dkoo merged commit 33f1264 into alpha Jan 10, 2025
4 checks passed
@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.4.0-alpha.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants