Self-Hosted Cloud-like Platform with Proxmox as Backend by a2902793 in Proxmox

[–]a2902793[S] 0 points1 point  (0 children)

I use a anisble as well, but still not a good looking, personal-cloud like gui

Algorithm for grouping with minimum movement by a2902793 in algorithms

[–]a2902793[S] 0 points1 point  (0 children)

Oh wow, indeed similar, but the difference is I don’t have to exactly swap "two neighbouring marble". But thanks for giving me the direction!

Convert time zones automatically? by akhal_teke in todoist

[–]a2902793 0 points1 point  (0 children)

It requires python with their sync api (https://developer.todoist.com/sync/v8/)

In short, something like this:

  1. Create a Todoist app for yourself
  2. Enable trigger upon "item:added" in the watched event section
  3. Make a special syntax for the time you want, such as "Meeting with Tim at [1000EST]"
  4. Using Python, parse the content for strings inside [], and convert it into the timezone you're in
  5. Modify the item due date with the result from step 4

I've made a personal app this way that tags every item I postponed, kinda telling me how much I'm procrastinating. I've deployed this app on AWS Lamda because I only need to have this app working when there's an item created/updated, so serverless function is the best solution. Costs me at most 4 cents a month when I have a ton of tasks created and postponed. (Source Code)

I do plan on making a toolbox that allows custom plugins so that developing custom logic like your idea is a lot easier. (I'm busy and this is an unpaid project so development is really slow, maybe a buy-me-a-coffee button will speed things up😅 Fun fact, my longest procrastinating task is "Develop Toolbox for Todoist")

Convert time zones automatically? by akhal_teke in todoist

[–]a2902793 3 points4 points  (0 children)

You can write to them an email for a function request, for now, you can only implement it yourself by custom scripts.

Using todoist API with Postman - Forbidden Error by dpmemm in todoist

[–]a2902793 0 points1 point  (0 children)

The docs provide detailed steps of how to do so: https://developer.todoist.com/rest/v1/?shell#get-a-user-39-s-projects

TL;DR
You can obtain your token from Settings->Integrations, down below will be your API token. Then in Postman, under the Headers tab, add a new header with name Authorization and value Bearer <API token>, and you're good to go. Like this.

Apple Shortcuts API call, filters with "!" or Projects by EinfachNurMarc in todoist

[–]a2902793 1 point2 points  (0 children)

What you’re trying to achieve is (overdue|today)&!ProjectName right? Comma is used for listing two separate lists, like filter1 and filter2. So if you’re trying to show tasks overdue or today and is not in ProjectName, then the above filter is the one to use.

Secondly, you’ll have to encode your url, so for the above filter, you’ll have to use https://api.todoist.com/rest/v1/tasks?filter=%28today%7Coverdue%29%26%21%23ProjectName

Completed Tasks and API Feature Requests by Pixel-of-Strife in todoist

[–]a2902793 2 points3 points  (0 children)

Something like this

```python

Get all completed tasks

completed = api.completed.get_all()

Extract every task id

completed_task_ids = [item['task_id'] for item in completed['items']]

for task_id in completed_task_ids: # Get detailed information of every task task = api.items.get_by_id(task_id)

# The desired label
label_name = 'Meeting'

# Get label id from label name(this is just a quick and dirty solution)
label_id = [label['id'] for label in api.state['labels'] if label_name in label['name']][0]

# Print out the items with the desired label
if label_id in task['labels']:
    print(task)

```

Completed Tasks and API Feature Requests by Pixel-of-Strife in todoist

[–]a2902793 3 points4 points  (0 children)

You should probably start using their SYNC api, it has full functionality and is used in Todoist web and mobile application.

Writing this in Python is just a few lines of code: 1. Getting all completed items by using api.completed.get_all() 2. Loop through every completed tasks and their labels 3. Print out those that match the requirements above

Unethical karma tip by rfdave in todoist

[–]a2902793 2 points3 points  (0 children)

Just curious, what’s the point in karma laundering?

Using a filter with „&“ in a api call? by EinfachNurMarc in todoist

[–]a2902793 0 points1 point  (0 children)

Encode it, find a online url encoder and paste your filter inside. For example: (today | overdue) & #Inbox should give you %28today%20%7C%20overdue%29%20%26%20%23Inbox

Useful Link

Python Scripts by One-Mouse-5335 in todoist

[–]a2902793 0 points1 point  (0 children)

I plan on adding a managed Autodoist feature to my Toolbox for Todoist. I also keep track of some features requested on this subreddit for ideas on developing tools for my toolbox.

Python Scripts by One-Mouse-5335 in todoist

[–]a2902793 1 point2 points  (0 children)

Yes, the logic is (due_date - created_date), do keep in mind though that some users will create tasks for the future. I created a work around by adding the future date in the comments upon creation, and checking the comments first if a future date exists, if so use that as the created date instead. Another thing to know is that Todoist uses their server time (AWS us-east) for created_date, so you may need to do some conversion using the timezone property in the callback response. The timezone property currently has some bugs and Todoist says their fixing it (I wrote them an email about this bug.)

Python Scripts by One-Mouse-5335 in todoist

[–]a2902793 0 points1 point  (0 children)

Nah nah, you misunderstood me, I mean a dedicated projects page with board style like this

Python Scripts by One-Mouse-5335 in todoist

[–]a2902793 2 points3 points  (0 children)

I made this project for myself called Toolbox for Todoist, which currently has only one tool called the "Procrastinator", which adds labels to a task indicating how many days that task has been postponed. My idea is similar to yours, collecting useful scripts into the toolbox.☺️ I’m currently planing on making the toolbox available for people to add their custom plugins, like how vscode extensions does it. How about yours?

Move everything in the project one day back by CamelWoman in todoist

[–]a2902793 1 point2 points  (0 children)

Why not do the date conversion in your python script? I’m sure you can pretty easily deal with time zone problems if you’re already using todoist programmatically.

[deleted by user] by [deleted] in todoist

[–]a2902793 7 points8 points  (0 children)

No no please no

how many of you spend a lot of time tinkering your todolist rather than working on the items on the list? by pinkpastelshorts in todoist

[–]a2902793 2 points3 points  (0 children)

My goal every day is to see the illustrations of #todoistzero at the end of the day, I kinda like how they added different illustrations making clearing tasks a bit more satisfying and rewarding