Jump to content

Martien Oranje

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Martien Oranje

  1. Great, thanks for the feedback! Martien
  2. Yes I could do that, but I fear that some control characters like `,` and `:` and `;` might be problematic. I've opted for the long way. I've spun up a beta version for @Pavel A to test. My Cyrillic literacy is not very good but seems to work. If you can confirm it works I'll merge the changes to master. https://drive.google.com/file/d/1nmdTrYqpt7Ef1Dzt1k9PAA1oVPSMiwAh/view?usp=sharing
  3. Those aren't matched by the parser either!
  4. Right now the parser only supports latin characters. I hadn't considered other scripts. Is there a non-capital and capital range that includes all characters (like `a-z` and `A-Z`)? Edit: that would seem to be `а-я` and `А-Я` am I right? Edit 2: or perhaps [Ѐ-Ӿ] (as recommended here)
  5. Hi ystian, How can I help you?
  6. Yeah, the use of spread operators in objects was included in node.js in version `8.3`
  7. The right way is without brackets. 'x' should be a valid todoist token. There should be something in the first list item with some feedback about whats going on. The notification should also help with whats going on and if there's an error I expect something to show in Alfreds debug log (In alfred: Show Alfred Settings, then Tab Workflows -> select the Alfred Workflow Todoist -> in the upper right corner click the 'bug' icon -> set built-in terminal to 'Log: All information')
  8. It's been a while since I've updated this workflow, but I've rewritten it from scratch and have implemented most of the old features with extra's
  9. Maybe I misunderstood, I thought you were asking about not being able to use Todoist in German. Was that not your question?
  10. I'm afraid Todoist doesn't support German at the moment, correct me if I'm wrong. Martien
  11. I see what you are saying, I erroneously thought a high priority equaled a high number. That must have been why I never noticed. The API handles priorities in reverse order from the client. I'll throw in a conversion step. Nice catch! I must admit I have very little OSS time in January, I am using all the spare time a have for building a kitchen and baby room. The project makeover is about 85% done but still contains bugs and incomplete test suite and I rather not release a buggy version anymore :/ Martien
  12. Si you are saying you expect 1 to have the lowest priority?
  13. What is your search? I could produce an alfa build that had most of the new features implemented. But I haven't updated the test suite yet. Ps. The priorities being inverted is a could be due to the Todoist server and client reasoning different about priorities, what is your expected behaviour?
  14. Do create an issue, I'll see if I can get around to fixing the problem. Any error messages to help me along?
  15. 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
  16. Found it, working with JSON in bash is a little tricky. Should be fixed. If not let me know. Find the updated binairy on github or use t:update (assuming you are on v3.1.5) Martien
  17. Yeah you are right, I have introduced a bug somewhere I'm afraid. I have had little free time to diagnose the exact problem I'm afraid. I'll try to fix as soon as I do. Martien
  18. Hmmm yeah, I think I do. I may have made a wrong an assumption on the characters in the API token. I made the assumption based on tokens I've seen that they are always exactly 40 characters long and only consist of numbers 0-9 and lower case letters 'a' to 'f'. Can you tell where your token is different from this (don't share the entire token)? Martien
  19. The workflow has been updated to give more visual feedback. See changelog for more information on changes. Martien
  20. Hi it's something I am willing to look in, would you mind creating an issue here on github (https://github.com/moranje/alfred-workflow-todoist/issues) so I can keep track of different requests. Also if you have any ideas on how you would like this function to work, write that down too. Also for those interested, I've just posted 3.1.4beta here which adds a better parser (namely #projects) and a little more visual feedback for the `todo add` command. Thanks Martien
  21. Hi Rique, Sorry for not replying. I'm not able to commit any time to this right now as I have a newborn to take care of. I hope someone else might have some free time to dive into this. From looking at your error I can however tell you that spaces in your labels (ie Single actions instead of for example single_actions) are a problem, see if things work without them. Martien
  22. Thanks to Paul the new version is live.
  23. The label feature, with node.js installed you would have gotten an empty array (a list) back. But since you don't have node.js installed that array (or the array representation "[]") wasn't returned. The todoist API didn't accept an empty string "" instead of "[]" for an empty set of labels so returned an Error that an invalid value was entered. I wish they had listed which value, so I would have been on the right track much sooner. Thanks for helping me figure this out. Martien
  24. Hmm that last file didn't get uploaded to dropbox it seems. You should get version 3.1.3. New version: Version 3.1.3.
  25. I think I discovered the problem! The debug logs helped me figure it out. Try this version, and let me know if that solves it. Fixed version
  • Create New...