rde-master / ioBroker.todoist2

todoist for ioBroker
MIT License
5 stars 5 forks source link
iobroker todoist

Logo

ioBroker.todoist2

NPM version Downloads Number of Installations (latest) Number of Installations (stable) Dependency Status Known Vulnerabilities

NPM

Tests:: Travis-CI

ioBroker.Todoist

This Adapater is for integrating todoist. It uses the REST API https://developer.todoist.com/rest/v1/#overview

Dieser Adaber dient zur zur Integration von todoist. Er verwendet die Rest API https://developer.todoist.com/rest/v1/#overview

Beschreibung

sendTo

Dieser Adapter verfügt über die Möglichtkeit mit sendTo zu arbeiten: Hier ist der nötige Ausbau:

 sendTo("todoist2", "send", {
     funktion: {name/string - see below!},
     task: {name/string},
     task_id: {number},
     project: {name/string},
     project_id: {number},
     section: {name/string},
     section_id: {number},
     parent: {number},
     order: {number},
     label: {name/string},
     label_id: {number},
     priority: {number},
     date: JJJJ-MM-TT,
     });

Hier die Liste der funktion:


add_task --> new Task
del_task --> delete Task
add_project --> new Project
del_project --> delete Project
close_task --> close Task 
reopen_task --> reopen Task
add_section --> new Section
del_section --> delete Section

Blockly

Dieser Adapter fürgt ein Blockly todoist in den Bereich sendTo hinzu: Logo

Filter

Sie können über die Filter Funktion von Todoist ganz einfach eigene Listen erstellen. z.B. Filter: "today" gibt alle heute fälligen Todos aus usw...

Wichtig: für diese Funktion ist ein Premium Account bei Todoist nötig! Aktiviere diese Funktion nur wenn du einen Premium Account hast.

Configuration der Listen

HTML

Example for CSS HTML Table

#task_table {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#task_table td, #task_table th {
  border: 1px solid #ddd;
  padding: 16px;
}

#task_table tr:nth-child(even){background-color: #f2f2f2;}

#task_table tr:hover {background-color: #ddd;}

#task_table th {
  padding-top: 6px;
  padding-bottom: 6px;
  text-align: left;
  background-color: #4CAF50;
  color: white;
}

Example for CSS HTML Button

.button {
 background-color: #4CAF50;
 border: none;
 color: white;
 padding: 8px 16px;
 text-align: center;
 text-decoration: none;
 display: inline-block;
 font-size: 16px;
 margin: 4px 2px;
 cursor: pointer;
 transition-duration: 0.4s;
}

.button__icon{
width: 1.2em;
height: 1.2em;
fill: black;
margin-right: 0.5em;
}

.button:hover {
  background-color: red; 
  color: black;
}

.button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

Example for SVG Icon in Button

<svg class="button__icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true" focusable="false"> <path class="cls-2" d="M18,3H6A3,3,0,0,0,3,6V18a3,3,0,0,0,3,3H18a3,3,0,0,0,3-3V6A3,3,0,0,0,18,3Zm1,15a1,1,0,0,1-1,1H6a1,1,0,0,1-1-1V6A1,1,0,0,1,6,5H18a1,1,0,0,1,1,1Z"/><path class="cls-2" d="M14.7,8.39l-3.78,5L9.29,11.28a1,1,0,0,0-1.58,1.23l2.43,3.11a1,1,0,0,0,.79.38h0a1,1,0,0,0,.79-.39l4.57-6a1,1,0,1,0-1.6-1.22Z"/></g></g></g></svg>

Example for any image you like:

<img src="https://github.com/rde-master/ioBroker.todoist2/raw/master/todoist2.admin/todoist.png" width="24" height="24">

Changelog

0.9.1

0.9.0

Major Changes:

0.8.11

0.8.10

0.8.9

0.8.8

0.8.7

0.8.6

0.8.4

0.8.3

0.8.2

0.8.1

0.8.0

0.7.3

0.7.2

0.7.1

0.7.0

0.6.7

0.6.6

0.6.5

0.6.1

0.6.0

0.5.0

0.4.0

0.3.5

0.3.0

0.2.0

0.1.5

0.1.0

0.0.7

0.0.5

0.0.1

License

The MIT License (MIT) Copyright (c) 2021 rde-master info@rde-master.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) 2021 rde-master info@rde-master.de