-
Notifications
You must be signed in to change notification settings - Fork 15
Major rewrite, BC breaks #14
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
base: master
Are you sure you want to change the base?
Conversation
ce39f87 to
4b3bc5b
Compare
* Pushed everything up to PHP 7.4 and using language features * Refactored parser to be simpler * Added model for document (all lists) and items (individual sublists) * Ability to fetch item by id from document * Added to the parser to recognize boards and flag them accordingly * Login and sessions can now be handled easier * When updating an item, you call the client with it and the client figures out what needs to be updated and makes the minimal amount of API calls to accomplish the wanted updates. Still open: * Handle mirrors in parsing, export and updates. Maybe something to do later on, but not for this one.
4b3bc5b to
bc9a35a
Compare
johansatge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @ChristianRiesen,
I had a deep look today and the new structure looks awesome 💯 thanks again for the work you put in this.
I took the liberty to invite you as contributor so you can merge whenever you want to.
| { | ||
| "name": "johansatge/workflowy-php", | ||
| "description": "An unofficial WorkFlowy API", | ||
| "version": "0.2.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't use composer/Packagist for a long time, isn't the version mandatory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, you do tags, and packagist gets your info through that, knowing which version it is.
|
Thanks for the invite! I do have to do some small tests still, but then I'd gladly merge and tag this branch. |
Still open:
This will not work with PHP 8 since the changes to curl. I might make another version where the actual HTTP client is optional and can be chosen, so it would be compatible with PHP 7.4 and PHP 8.