Skip to content

Commit

Permalink
Merge a3b70d9 into 5ab566d
Browse files Browse the repository at this point in the history
  • Loading branch information
heikokue committed Mar 8, 2021
2 parents 5ab566d + a3b70d9 commit 8770df8
Show file tree
Hide file tree
Showing 40 changed files with 1,025 additions and 1,036 deletions.
17 changes: 0 additions & 17 deletions aws/aws.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@
</div>
</script>

<script type="text/x-red" data-help-name="amazon s3 in">
<p>Amazon S3 watch node. Watches for file events on Box. By default all
file events are reported, but the filename pattern can be supplied
to limit the events to files which have full filenames that match
the glob pattern. The event messages consist of the full filename
in <b>msg.payload</b> property, the filename in <b>msg.file</b>,
the event type in <b>msg.event</b>.</p>
</script>

<script type="text/javascript">
RED.nodes.registerType('amazon s3 in',{
category: 'storage-input',
Expand Down Expand Up @@ -129,10 +120,6 @@
</div>
</script>

<script type="text/x-red" data-help-name="amazon s3">
<p>Amazon S3 input node. Downloads content from an Amazon S3 bucket. The bucket name can be specified in the node <b>bucket</b> property or in the <b>msg.bucket</b> property. The name of the file to download is taken from the node <b>filename</b> property or the <b>msg.filename</b> property. The downloaded content is sent as <b>msg.payload</b> property. If the download fails <b>msg.error</b> will contain an error object.</p>
</script>

<script type="text/javascript">
RED.nodes.registerType('amazon s3',{
category: 'storage-output',
Expand Down Expand Up @@ -201,10 +188,6 @@
</div>
</script>

<script type="text/x-red" data-help-name="amazon s3 out">
<p>Amazon S3 out node. Uploads content to an Amazon S3 bucket. The bucket name can be specified in the node <b>bucket</b> property or in the <b>msg.bucket</b> property. The filename on Amazon S3 is taken from the node <b>filename</b> property or the <b>msg.filename</b> property. The content is taken from either the node <b>localFilename</b> property, the <b>msg.localFilename</b> property or the <b>msg.payload</b> property.</p>
</script>

<script type="text/javascript">
RED.nodes.registerType('amazon s3 out',{
category: 'storage-output',
Expand Down
17 changes: 17 additions & 0 deletions aws/locales/en-US/aws.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

<script type="text/x-red" data-help-name="amazon s3 in">
<p>Amazon S3 watch node. Watches for file events on Box. By default all
file events are reported, but the filename pattern can be supplied
to limit the events to files which have full filenames that match
the glob pattern. The event messages consist of the full filename
in <b>msg.payload</b> property, the filename in <b>msg.file</b>,
the event type in <b>msg.event</b>.</p>
</script>

<script type="text/x-red" data-help-name="amazon s3">
<p>Amazon S3 input node. Downloads content from an Amazon S3 bucket. The bucket name can be specified in the node <b>bucket</b> property or in the <b>msg.bucket</b> property. The name of the file to download is taken from the node <b>filename</b> property or the <b>msg.filename</b> property. The downloaded content is sent as <b>msg.payload</b> property. If the download fails <b>msg.error</b> will contain an error object.</p>
</script>

<script type="text/x-red" data-help-name="amazon s3 out">
<p>Amazon S3 out node. Uploads content to an Amazon S3 bucket. The bucket name can be specified in the node <b>bucket</b> property or in the <b>msg.bucket</b> property. The filename on Amazon S3 is taken from the node <b>filename</b> property or the <b>msg.filename</b> property. The content is taken from either the node <b>localFilename</b> property, the <b>msg.localFilename</b> property or the <b>msg.payload</b> property.</p>
</script>
23 changes: 0 additions & 23 deletions box/box.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,6 @@
</div>
</script>

<script type="text/x-red" data-help-name="box in">
<p>Box watch node. Watches for file events on Box. By default all
file events are reported, but the filename pattern can be supplied
to limit the events to files which have full filenames that match
the glob pattern. The event messages consist of the full filename
in <b>msg.payload</b> property, the filename in <b>msg.file</b>,
the event type in <b>msg.event</b> and the full event entry as
returned by
the <a href="https://developers.box.com/docs/#events">event
API</a> in <b>msg.data</b>.</p>
</script>

<script type="text/javascript">
RED.nodes.registerType('box in',{
category: 'storage-input',
Expand Down Expand Up @@ -202,10 +190,6 @@
</div>
</script>

<script type="text/x-red" data-help-name="box">
<p>Box input node. Downloads content from Box. The filename on Box is taken from the node <b>filename</b> property or the <b>msg.filename</b> property. The content is sent as <b>msg.payload</b> property.</p>
</script>

<script type="text/javascript">
RED.nodes.registerType('box',{
category: 'storage-input',
Expand Down Expand Up @@ -243,13 +227,6 @@
</div>
</script>

<script type="text/x-red" data-help-name="box out">
<p>Box out node. Uploads content to Box.</p>
<p>The filename on Box is taken from the node <b>filename</b> property or the <code>msg.filename</code> property.</p>
<p>The content is taken from either the file pointed at by the node <b>localFilename</b> property, the
<code>msg.localFilename</code> property, or the actual contents of the <code>msg.payload</code> property.</p>
</script>

<script type="text/javascript">
RED.nodes.registerType('box out',{
category: 'storage-output',
Expand Down
23 changes: 23 additions & 0 deletions box/locales/en-US/box.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

<script type="text/x-red" data-help-name="box in">
<p>Box watch node. Watches for file events on Box. By default all
file events are reported, but the filename pattern can be supplied
to limit the events to files which have full filenames that match
the glob pattern. The event messages consist of the full filename
in <b>msg.payload</b> property, the filename in <b>msg.file</b>,
the event type in <b>msg.event</b> and the full event entry as
returned by
the <a href="https://developers.box.com/docs/#events">event
API</a> in <b>msg.data</b>.</p>
</script>

<script type="text/x-red" data-help-name="box">
<p>Box input node. Downloads content from Box. The filename on Box is taken from the node <b>filename</b> property or the <b>msg.filename</b> property. The content is sent as <b>msg.payload</b> property.</p>
</script>

<script type="text/x-red" data-help-name="box out">
<p>Box out node. Uploads content to Box.</p>
<p>The filename on Box is taken from the node <b>filename</b> property or the <code>msg.filename</code> property.</p>
<p>The content is taken from either the file pointed at by the node <b>localFilename</b> property, the
<code>msg.localFilename</code> property, or the actual contents of the <code>msg.payload</code> property.</p>
</script>
78 changes: 0 additions & 78 deletions darksky/darksky.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,49 +184,6 @@
});
</script>

<script type="text/x-red" data-help-name="darksky">
<p>A node which polls the DarkSky API for weather forecast data when an input is received.</p>
<p>This is done using a latitude and longitude set of coordinates and an optional date/time combination.</p>
<p>These can be passed in as settings on the node, or as:</p>
<ul>
<li> <code>msg.location.lat</code>, <code>msg.location.lon</code> and optionally <code>msg.time</code></li>
</ul>
<p>if using <code>msg.time</code> it can either be a javascript Date object or a
string or number of milliseconds since 1970 (epoch time in mS).
If neither is specified the forecast defaults to tomorrow.</p>
<p>The user also has the option of providing a date instead of returning data for the next day.</p>
<p>The node will always prioritise the node settings if they are present.</p>
<p>The node sets the following properties of <code>msg.payload</code>:</p>
<ul>
<li><code>weather</code> - a single word representation of the current weather forecast.</li>
<li><code>detail</code> - a more detailed explanation of what the weather is forecast to be.</li>
<li><code>humidity</code> - a current humidity forecast in decimal (0-1).</li>
<li><code>maxtemp</code> - the current forecast max temperature for the location in Fahrenheit.</li>
<li><code>mintemp</code> - the current forecast minimum temperature for the location in Fahrenheit.</li>
<li><code>windspeed</code> - the current forecast windspeed at the location in metres per second</li>
<li><code>winddirection</code> - the current forecast wind direction for the location in degrees.</li>
<li><code>lon</code> - the longitude of the location from which the forecast was sourced.</li>
<li><code>lat</code> - the latitude of the location from which the forecast was sourced.</li>
<li><code>clouds</code> - the current forecast cloud coverage of the location in percent.</li>
<li><code>precipitation</code> - the current forecast precipitation chance</li>
<li><code>sunrise</code> - the time at which the is forecast to rise in Unix UTC format.</li>
<li><code>sunset</code> - the time at which the sun is forecast to set in Unix UTC format.</li>
<li><code>lang</code> - the language of the results as requested.</li>
<li><code>units</code> - the units of the results as requested.</li>
</ul>
<p>The node also sets:</p>
<ul>
<li><code>msg.location.lat</code> - the latitude of the location from which the data was sourced.</li>
<li><code>msg.location.lon</code> - the longitude of the location from which the data was sourced.</li>
</ul>
<p>Finally, the node sets: <code>msg.title</code>, <code>msg.description</code> and</p>
<ul>
<li><code>msg.time</code> - the time at which the weather data was received by DarkSky.</li>
<li><code>msg.data</code> - the full JSON returned by the API. </li>
</ul>
<p>Powered by the <a href="https://darksky.net/poweredby/" target="_blank">Dark Sky Forecast API</a>.</p>
</script>

<script type="text/x-red" data-template-name="darksky in">
<div class="form-row">
<label for="node-input-darksky"><i class="fa fa-user"></i> <span data-i18n="darksky.label.darksky"></span></label>
Expand Down Expand Up @@ -351,38 +308,3 @@
}
});
</script>

<script type="text/x-red" data-help-name="darksky in">
<p>A node which polls DarkSky every 15 minutes for weather forecast data and outputs when a change is detected.</p>
<p>This is done using a latitude and longitude set of coordinates and an optional date/time combination.</p>
<p>The user also has the option of providing a date instead of returning data for the next day.</p>
<p>The node sets the following properties of <code>msg.payload</code>:</p>
<ul>
<li><code>weather</code> - a single word representation of the current weather forecast.</li>
<li><code>detail</code> - a more detailed explanation of what the weather is forecast to be.</li>
<li><code>humidity</code> - a current humidity forecast in decimal (0-1).</li>
<li><code>maxtemp</code> - the current forecast max temperature for the location in Fahrenheit.</li>
<li><code>mintemp</code> - the current forecast minimum temperature for the location in Fahrenheit.</li>
<li><code>windspeed</code> - the current forecast windspeed at the location in metres per second</li>
<li><code>winddirection</code> - the current forecast wind direction for the location in degrees.</li>
<li><code>lon</code> - the longitude of the location from which the forecast was sourced.</li>
<li><code>lat</code> - the latitude of the location from which the forecast was sourced.</li>
<li><code>clouds</code> - the current forecast cloud coverage of the location in percent.</li>
<li><code>precipitation</code> - the current forecast precipitation chance</li>
<li><code>sunrise</code> - the time at which the is forecast to rise in Unix UTC format.</li>
<li><code>sunset</code> - the time at which the sun is forecast to set in Unix UTC format.</li>
<li><code>lang</code> - the language of the results as requested.</li>
<li><code>units</code> - the units of the results as requested.</li>
</ul>
<p>The node also sets:</p>
<ul>
<li><code>msg.location.lat</code> - the latitude of the location from which the data was sourced.</li>
<li><code>msg.location.lon</code> - the longitude of the location from which the data was sourced.</li>
</ul>
<p>Finally, the node sets: <code>msg.title</code>, <code>msg.description</code> and</p>
<ul>
<li><code>msg.time</code> - the time at which the weather data was received by DarkSky.</li>
<li><code>msg.data</code> - the full JSON returned by the API. </li>
</ul>
<p>Powered by the <a href="https://darksky.net/poweredby/" target="_blank">Dark Sky Forecast API</a>.</p>
</script>
78 changes: 78 additions & 0 deletions darksky/locales/en-US/darksky.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@

<script type="text/x-red" data-help-name="darksky">
<p>A node which polls the DarkSky API for weather forecast data when an input is received.</p>
<p>This is done using a latitude and longitude set of coordinates and an optional date/time combination.</p>
<p>These can be passed in as settings on the node, or as:</p>
<ul>
<li> <code>msg.location.lat</code>, <code>msg.location.lon</code> and optionally <code>msg.time</code></li>
</ul>
<p>if using <code>msg.time</code> it can either be a javascript Date object or a
string or number of milliseconds since 1970 (epoch time in mS).
If neither is specified the forecast defaults to tomorrow.</p>
<p>The user also has the option of providing a date instead of returning data for the next day.</p>
<p>The node will always prioritise the node settings if they are present.</p>
<p>The node sets the following properties of <code>msg.payload</code>:</p>
<ul>
<li><code>weather</code> - a single word representation of the current weather forecast.</li>
<li><code>detail</code> - a more detailed explanation of what the weather is forecast to be.</li>
<li><code>humidity</code> - a current humidity forecast in decimal (0-1).</li>
<li><code>maxtemp</code> - the current forecast max temperature for the location in Fahrenheit.</li>
<li><code>mintemp</code> - the current forecast minimum temperature for the location in Fahrenheit.</li>
<li><code>windspeed</code> - the current forecast windspeed at the location in metres per second</li>
<li><code>winddirection</code> - the current forecast wind direction for the location in degrees.</li>
<li><code>lon</code> - the longitude of the location from which the forecast was sourced.</li>
<li><code>lat</code> - the latitude of the location from which the forecast was sourced.</li>
<li><code>clouds</code> - the current forecast cloud coverage of the location in percent.</li>
<li><code>precipitation</code> - the current forecast precipitation chance</li>
<li><code>sunrise</code> - the time at which the is forecast to rise in Unix UTC format.</li>
<li><code>sunset</code> - the time at which the sun is forecast to set in Unix UTC format.</li>
<li><code>lang</code> - the language of the results as requested.</li>
<li><code>units</code> - the units of the results as requested.</li>
</ul>
<p>The node also sets:</p>
<ul>
<li><code>msg.location.lat</code> - the latitude of the location from which the data was sourced.</li>
<li><code>msg.location.lon</code> - the longitude of the location from which the data was sourced.</li>
</ul>
<p>Finally, the node sets: <code>msg.title</code>, <code>msg.description</code> and</p>
<ul>
<li><code>msg.time</code> - the time at which the weather data was received by DarkSky.</li>
<li><code>msg.data</code> - the full JSON returned by the API. </li>
</ul>
<p>Powered by the <a href="https://darksky.net/poweredby/" target="_blank">Dark Sky Forecast API</a>.</p>
</script>

<script type="text/x-red" data-help-name="darksky in">
<p>A node which polls DarkSky every 15 minutes for weather forecast data and outputs when a change is detected.</p>
<p>This is done using a latitude and longitude set of coordinates and an optional date/time combination.</p>
<p>The user also has the option of providing a date instead of returning data for the next day.</p>
<p>The node sets the following properties of <code>msg.payload</code>:</p>
<ul>
<li><code>weather</code> - a single word representation of the current weather forecast.</li>
<li><code>detail</code> - a more detailed explanation of what the weather is forecast to be.</li>
<li><code>humidity</code> - a current humidity forecast in decimal (0-1).</li>
<li><code>maxtemp</code> - the current forecast max temperature for the location in Fahrenheit.</li>
<li><code>mintemp</code> - the current forecast minimum temperature for the location in Fahrenheit.</li>
<li><code>windspeed</code> - the current forecast windspeed at the location in metres per second</li>
<li><code>winddirection</code> - the current forecast wind direction for the location in degrees.</li>
<li><code>lon</code> - the longitude of the location from which the forecast was sourced.</li>
<li><code>lat</code> - the latitude of the location from which the forecast was sourced.</li>
<li><code>clouds</code> - the current forecast cloud coverage of the location in percent.</li>
<li><code>precipitation</code> - the current forecast precipitation chance</li>
<li><code>sunrise</code> - the time at which the is forecast to rise in Unix UTC format.</li>
<li><code>sunset</code> - the time at which the sun is forecast to set in Unix UTC format.</li>
<li><code>lang</code> - the language of the results as requested.</li>
<li><code>units</code> - the units of the results as requested.</li>
</ul>
<p>The node also sets:</p>
<ul>
<li><code>msg.location.lat</code> - the latitude of the location from which the data was sourced.</li>
<li><code>msg.location.lon</code> - the longitude of the location from which the data was sourced.</li>
</ul>
<p>Finally, the node sets: <code>msg.title</code>, <code>msg.description</code> and</p>
<ul>
<li><code>msg.time</code> - the time at which the weather data was received by DarkSky.</li>
<li><code>msg.data</code> - the full JSON returned by the API. </li>
</ul>
<p>Powered by the <a href="https://darksky.net/poweredby/" target="_blank">Dark Sky Forecast API</a>.</p>
</script>
13 changes: 1 addition & 12 deletions delicious/delicious.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,12 @@
</div>
</script>

<script type="text/x-red" data-help-name="delicious out">
<p>Saves bookmarks to <a target="_blank" href="http://delicious.com">Delicious</a>.</p>
<p>The incoming message can provide the following properties:
<ul>
<li><b>payload</b> - the url to save (required)</li>
<li><b>title</b> - the title for the bookmark (required)</li>
<li><b>description</b> - the description for the bookmark (optional)</li>
</ul>
</p>
</script>

<script type="text/javascript">
RED.nodes.registerType('delicious-user',{
category: 'config',
defaults: {
username: {value:"", required:true},
},
},
credentials: {
password: { type:"password"}
},
Expand Down
11 changes: 11 additions & 0 deletions delicious/locales/en-US/delicious.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

<script type="text/x-red" data-help-name="delicious out">
<p>Saves bookmarks to <a target="_blank" href="http://delicious.com">Delicious</a>.</p>
<p>The incoming message can provide the following properties:
<ul>
<li><b>payload</b> - the url to save (required)</li>
<li><b>title</b> - the title for the bookmark (required)</li>
<li><b>description</b> - the description for the bookmark (optional)</li>
</ul>
</p>
</script>
Loading

0 comments on commit 8770df8

Please sign in to comment.