Skip to content

Conversation

@ChristianRiesen
Copy link
Collaborator

  • 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.

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.

@ChristianRiesen ChristianRiesen force-pushed the welcome-to-2020 branch 4 times, most recently from ce39f87 to 4b3bc5b Compare March 11, 2021 12:10
* 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.
Copy link
Owner

@johansatge johansatge left a 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",
Copy link
Owner

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?

Copy link
Collaborator Author

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.

@ChristianRiesen
Copy link
Collaborator Author

Thanks for the invite! I do have to do some small tests still, but then I'd gladly merge and tag this branch.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants