Martien Oranje
-
Posts
69 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
Martien Oranje got a reaction from bb13 in Todoist Workflow
Alfred deprecated their beta API that's the error you are getting. Update your workflow to the latest version and you should be fine.
-
Martien Oranje got a reaction from Habeneck in Todoist Workflow
Yeah, the use of spread operators in objects was included in node.js in version `8.3`
-
Martien Oranje got a reaction from thanasut in Todoist Workflow
ALFRED TODOIST WORKFLOW
Add and search Todoist tasks straight from Alfred. It uses Todoist v8 REST API.
Getting started
For this workflow to work you need version 3.x of Alfred and a powerpack licence. Node.js Installation
Download and import workflow.
Configuration
Name Notation Explanation token ^[0-9a-fA-F]{40}$ (default empty) The todoist API token. language en, da, pl, zh, ko, de, pt, ja, it, fr, sv, ru, es, nl(default en) The language for natural language date processing (by todoist) and to calculate time to complete a task. cache_timeout A positive number (default 3600, an hour) The time (in seconds) until the cache is refreshed (until that time todoist information is stored locally to make things a little faster) anonymous_statistics true or false (default true) Doesn't do much at the moment but I intent to use it to track installs todo:setting token {api token}
Example: todo:setting token 2d2e2a334c5f36e7a7c43b46e
todo:setting language {language}
Example: todo:setting language nl
todo:setting cache_timeout {time in seconds}
Example: todo:setting cache_timeout 13
todo:setting anonymous_statistics {true or false}
Example: todo:setting anonymous_statistics false
Usage
Name Notation Explanation task Any text except , The task title. date A date string See the Todoist documentation for supported date formats. project Either #personal or #[next actions] Use either the hashtag notation or bracket notation if the project name has spaces in it. The project name is case insensitive. label @label Label names can't contain any whitespace characters. Labels are case insensitive. priority Either p2 or !!2 A value between 1 (urgent) and 4 (normal) Search for tasks
todos {query}
Query
Any search query one character or longer. Uses fuzzy search to find the tasks.
Example: todos car => returns (because of fuzzy search):
Rent car New cat recipe's Cut Gras tomorrow Create task
todo {task}, {date}
Example: todo Get things done, tomorrow @ 9
Example: todo Build tree house #home !!2 @15min, tomorrow @ 9
Changelog
View CHANGELOG.md
Contributing
Instructions
- Fork and clone the repo - Install dependacies - Symlink to project workflow folder git clone https://github.com/YOUR-USERNAME/alfred-worflow-todoist npm install npm run setup:dev Build
Create a new build with
npm run build
Run tests
Run Jest test suite with:
npm run test npm run test:prod
Or run a watcher with
npm run test:watch
Commits
For commits I follow the angular commit guidelines and use semantic release to automate builds, semver version updates and changelog creation. The way to make sure this all works is to run:
npm run commit
Which guides you through the motions
Code of conduct
code-of-conduct.md
License
License MIT © Martien Oranje
-
Martien Oranje got a reaction from Mário Arand in Todoist Workflow
First thought? I shouln't be allow to write code :-p. I am a little pressed for time atm so I tried to quick fix this one and should have tested it better. Also the code library needs a test suite, to protect me from myself. I'll try to fix, properly test and write and create a test suite after. Hang on..
Martien
-
Martien Oranje got a reaction from teddy-error in Todoist Workflow
ALFRED TODOIST WORKFLOW
Add and search Todoist tasks straight from Alfred. It uses Todoist v8 REST API.
Getting started
For this workflow to work you need version 3.x of Alfred and a powerpack licence. Node.js Installation
Download and import workflow.
Configuration
Name Notation Explanation token ^[0-9a-fA-F]{40}$ (default empty) The todoist API token. language en, da, pl, zh, ko, de, pt, ja, it, fr, sv, ru, es, nl(default en) The language for natural language date processing (by todoist) and to calculate time to complete a task. cache_timeout A positive number (default 3600, an hour) The time (in seconds) until the cache is refreshed (until that time todoist information is stored locally to make things a little faster) anonymous_statistics true or false (default true) Doesn't do much at the moment but I intent to use it to track installs todo:setting token {api token}
Example: todo:setting token 2d2e2a334c5f36e7a7c43b46e
todo:setting language {language}
Example: todo:setting language nl
todo:setting cache_timeout {time in seconds}
Example: todo:setting cache_timeout 13
todo:setting anonymous_statistics {true or false}
Example: todo:setting anonymous_statistics false
Usage
Name Notation Explanation task Any text except , The task title. date A date string See the Todoist documentation for supported date formats. project Either #personal or #[next actions] Use either the hashtag notation or bracket notation if the project name has spaces in it. The project name is case insensitive. label @label Label names can't contain any whitespace characters. Labels are case insensitive. priority Either p2 or !!2 A value between 1 (urgent) and 4 (normal) Search for tasks
todos {query}
Query
Any search query one character or longer. Uses fuzzy search to find the tasks.
Example: todos car => returns (because of fuzzy search):
Rent car New cat recipe's Cut Gras tomorrow Create task
todo {task}, {date}
Example: todo Get things done, tomorrow @ 9
Example: todo Build tree house #home !!2 @15min, tomorrow @ 9
Changelog
View CHANGELOG.md
Contributing
Instructions
- Fork and clone the repo - Install dependacies - Symlink to project workflow folder git clone https://github.com/YOUR-USERNAME/alfred-worflow-todoist npm install npm run setup:dev Build
Create a new build with
npm run build
Run tests
Run Jest test suite with:
npm run test npm run test:prod
Or run a watcher with
npm run test:watch
Commits
For commits I follow the angular commit guidelines and use semantic release to automate builds, semver version updates and changelog creation. The way to make sure this all works is to run:
npm run commit
Which guides you through the motions
Code of conduct
code-of-conduct.md
License
License MIT © Martien Oranje
-
Martien Oranje got a reaction from nowasforjason in Todoist Workflow
Hi guys,
Make sure you have downloaded v3.0.2 and redownload it if you have changed any of the scripts, that's not the intended way.
In the Alfred bar, type the following and replace the token with your own.
t:token 238948934acde892edc989 You should be all set. If you need more instructions, check out the GitHub page.
Let me know if you need any more help.
Martien
-
Martien Oranje got a reaction from nowasforjason in Todoist Workflow
I guess that wasn't clear enough, I meant the alfred 'normal' search bar. You shouldn't have to mess around with any settings, see below:
Martien
PS. You are right I did mean 3.1.2
-
Martien Oranje got a reaction from deanishe in Todoist Workflow
ALFRED TODOIST WORKFLOW
Add and search Todoist tasks straight from Alfred. It uses Todoist v8 REST API.
Getting started
For this workflow to work you need version 3.x of Alfred and a powerpack licence. Node.js Installation
Download and import workflow.
Configuration
Name Notation Explanation token ^[0-9a-fA-F]{40}$ (default empty) The todoist API token. language en, da, pl, zh, ko, de, pt, ja, it, fr, sv, ru, es, nl(default en) The language for natural language date processing (by todoist) and to calculate time to complete a task. cache_timeout A positive number (default 3600, an hour) The time (in seconds) until the cache is refreshed (until that time todoist information is stored locally to make things a little faster) anonymous_statistics true or false (default true) Doesn't do much at the moment but I intent to use it to track installs todo:setting token {api token}
Example: todo:setting token 2d2e2a334c5f36e7a7c43b46e
todo:setting language {language}
Example: todo:setting language nl
todo:setting cache_timeout {time in seconds}
Example: todo:setting cache_timeout 13
todo:setting anonymous_statistics {true or false}
Example: todo:setting anonymous_statistics false
Usage
Name Notation Explanation task Any text except , The task title. date A date string See the Todoist documentation for supported date formats. project Either #personal or #[next actions] Use either the hashtag notation or bracket notation if the project name has spaces in it. The project name is case insensitive. label @label Label names can't contain any whitespace characters. Labels are case insensitive. priority Either p2 or !!2 A value between 1 (urgent) and 4 (normal) Search for tasks
todos {query}
Query
Any search query one character or longer. Uses fuzzy search to find the tasks.
Example: todos car => returns (because of fuzzy search):
Rent car New cat recipe's Cut Gras tomorrow Create task
todo {task}, {date}
Example: todo Get things done, tomorrow @ 9
Example: todo Build tree house #home !!2 @15min, tomorrow @ 9
Changelog
View CHANGELOG.md
Contributing
Instructions
- Fork and clone the repo - Install dependacies - Symlink to project workflow folder git clone https://github.com/YOUR-USERNAME/alfred-worflow-todoist npm install npm run setup:dev Build
Create a new build with
npm run build
Run tests
Run Jest test suite with:
npm run test npm run test:prod
Or run a watcher with
npm run test:watch
Commits
For commits I follow the angular commit guidelines and use semantic release to automate builds, semver version updates and changelog creation. The way to make sure this all works is to run:
npm run commit
Which guides you through the motions
Code of conduct
code-of-conduct.md
License
License MIT © Martien Oranje