-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add a public receiver for Tasker, Automate, etc. #112
Conversation
- Move Intent parsing to separate file - Support finding note by query (instead of selecting by ID or path) - Give properties in note info
Thank you for the contribution. While I do not currently use task automation, I find this to be a good addition. Intents can be sent from other apps or Termux. |
Perhaps it should be a separate issue, but this might be good time to fork the documentation repo alongside this one. I'm more than happy to write up documentation on how to use this addition 🙂 |
That sounds terrific! I will look into creating a fork in this organization, and ping you when it's done. |
@NatKarmios The forked documentation repo can be found here: https://github.com/orgzly-revived/documentation. I haven't touched anything yet -- feel free to open any kind of PRs. |
This is a recreation of my pull request for the original respository, orgzly/orgzly-android#878.
I'm a big fan of Automate, and I (along with many others, it seems) would love to be able to use it - or Tasker, etc. - with Orgzly.
In the spirit of being the change I want to see the world, I've got to work on implementing a publicly-accessible intent receiver to this end :)
Just a few issues relevant to this (most of which are more or less already implemented):
These "endpoints" (i.e. actions) have currently been implemented, and tested to be working on an emulated Pixel 4 (edit: and on my S21 Ultra, on which I have been daily driving these changes for the past 2 years 🙃):
GET_BOOKS
GET_SAVED_SEARCHES
GET_NOTE
ADD_NOTE
EDIT_NOTE
REFILE_NOTE
/REFILE_NOTES
MOVE_NOTE
/MOVE_NOTES
DELETE_NOTE
/DELETE_NOTES
ADD_SAVED_SEARCH
EDIT_SAVED_SEARCH
MOVE_SAVED_SEARCH
DELETE_SAVED_SEARCH
SEARCH
(runs the same kind of query a saved search would use, and returns the result)GET_WIDETS
SET_WIDGET
(sets the saved search that a widget displays)Where relevant, a note can be selected by:
GET_BOOKS
,SEARCH
, etc.