ForumsSearch



Search results for "Posted by MTvB"
Author Message
MTvB

Posted May 04, 2014 in: /tools/xml.php & 2FA
Score: 0
  • MTvB
  • Posted: May 04, 2014
  • Score: 0
Hej there,

I used to do a daily backup using a shell script from my linux server. After enabling 2FA I am no longer able to do that, as the web application does not seem to accept the generated third party password (I checked with my browser, too - it simply shows the signup.php again with no indication of an error).

What is the suggested way of backing up my toodledo data now?

Here’s part of the shell script:
———snip———
wget -O /dev/null $quiet --no-check-certificate --save-cookies cookies.txt --post-data 'email=username&pass=password&remember=on&redirect=‚ https://www.toodledo.com/signin.php
wget $quiet --load-cookies cookies.txt -O $(date +%F-%T).xml http://www.toodledo.com/tools/xml.php
———snip———

Cheers & thanks in advance

Martin

PS: Please be patient with my response, as I am traveling right now...
MTvB

Posted Apr 01, 2010 in: Poodledo fork (Python API)
Score: 0
  • MTvB
  • Posted: Apr 01, 2010
  • Score: 0
I am currently working on a project. To test the API I wrote a short script to dump all toodledo tasks into a text file, to be read by yagtd or todo.sh (with small tweaks). Here's the script:

---------------------- bite bite bite ----------------------
#!/usr/bin/python
# (c) 2010 Martin Treusch von Buttlar
from poodledo import ApiClient

client = ApiClient(application_id="toodledo2txt")
client.authenticate()

def escape(word):
if word.find(" ")>0:
return "[%s]" % word
else:
return word

folders = client.getFolders()
foldersByID = dict(map(lambda x: (x.id, x), folders))

tasks = client.getTasks(notcomp=True)
tasksByID = dict(map(lambda x: (x.id, x), tasks))

for task in tasks:
print task.title.encode('utf-8'),
if task.context!='None':
print "@%s" % escape(task.context.encode('utf-8')),
if task.folder!=0:
print "!%s" % escape(foldersByID[task.folder].title.encode('utf-8')),
if task.parent>0 and tasksByID.has_key(task.parent):
print "p:%s" % escape(tasksByID[task.parent].title.encode('utf-8')),
print ""
---------------------- bite bite bite ----------------------

Cheers

Martin
MTvB

Posted Mar 23, 2010 in: Poodledo fork (Python API)
Score: 0
  • MTvB
  • Posted: Mar 23, 2010
  • Score: 0
Hej,

I needed a working API and neither poodledo nor the ruby port was satisfying. So this was a one weekend hack.

I don't mind merging it back to Felix, I just wanted to share the work I had to done to ease anybody elses' attempts.

Cheers

Martin
MTvB

Posted Mar 21, 2010 in: Poodledo fork (Python API)
Score: 1
  • MTvB
  • Posted: Mar 21, 2010
  • Score: 1
Hej,

I have set up a git repository containing Felix Riedels excellent python API (a.k.a. Poodledo).

Find it under
http://github.com/martint17r/poodledo

It includes a number of fixes of myself and others, namely:
- Fix python 2.5 integration #12
- getServerInfo has a new field #17

And most important - a mechanism to use a yaml config file to read credentials and cache tokens (it is compatible to the ruby library).

Cheers

Martin
MTvB

Posted Mar 18, 2010 in: Vertical tabs possible with Chrome?
Score: 0
  • MTvB
  • Posted: Mar 18, 2010
  • Score: 0
Hej,

Chrome 4 fully supports GreaseMonkey Scripts. Did you try to install the user.js file?

Cheers

Martin
MTvB

Posted Mar 17, 2010 in: Sort by Tag (normalized)
Score: 0
  • MTvB
  • Posted: Mar 17, 2010
  • Score: 0
Hi,

Currently, when sorting (or grouping) tasks by tag, case is ignored, difference in whitespace or sorting of Tags for task is used to collate this, i.e.:
- "TagA" and "TagA," are put into seperat groups
- "TagA, TagB" is different from "TagB, TagA"

I would expect all these to be identically (at least for grouping purposes).

Cheers

Martin
MTvB

Score: 0
  • MTvB
  • Posted: Mar 11, 2010
  • Score: 0
Hi,

I am looking for a way to get all Tasks with no tag assigned (just like setting folder to 0 to search for tasks without a folder).

Is this possible?

Cheers

Martin
MTvB

Posted Mar 04, 2010 in: Tag autocomplete + multi-context filter
Score: 0
  • MTvB
  • Posted: Mar 04, 2010
  • Score: 0
Hej,

I really like this new feature. Two suggestions:
1. Would it be possible to provide bookmarkable URLs including
the chosen filters?
2. Is it planned to add this to searches, too?

Cheers

Martin