allow streaming downloads to export channel feed data

This commit is contained in:
Lee Lawlor
2014-04-01 23:20:12 -04:00
parent 47ba7a6fa5
commit 353fab53c0
9 changed files with 107 additions and 13 deletions

View File

@ -139,11 +139,14 @@ en:
device_update: "Update Device"
devices: "Devices"
documentation: "Documentation"
download: "Download"
download_feeds: "Download all of this Channel's feeds in CSV format."
edit: "Edit"
elevation: "Elevation"
entries: "Entries"
email: "Email"
email_form_add: "Add Email"
export: "Export"
featured_channels: "Featured Channels"
selected_channels: "Channels"
features: "Features"
@ -421,7 +424,7 @@ en:
private_link: "Private"
settings_link: "Settings"
api_key_link: "API Key"
data_import_link: "Data Import"
data_import_link: "Data Import / Export"
width: "Width"
youtube: "YouTube"
@ -493,7 +496,7 @@ en:
private_view: "Private View"
public_view: "Public View"
channel_settings: "Channel Settings"
data_import: "Data Import"
data_import: "Data Import / Export"
portlets_all_displayed: "All available windows are being displayed"
portlets_add: "Click a rectangle to add that windows to the dashboard"
add_portlets: "Add Windows"

View File

@ -369,7 +369,7 @@ it:
private_link: "Private"
settings_link: "Settings"
api_key_link: "API Key"
data_import_link: "Data Import"
data_import_link: "Data Import / Export"
width: "Larghezza"
youtube: "YouTube"
@ -430,7 +430,7 @@ it:
private_view: "Private View"
public_view: "Public View"
channel_settings: "Channel Settings"
data_import: "Data Import"
data_import: "Data Import / Export"
portlets_all_displayed: "All available portlets are being displayed"
portlets_add: "Click a rectangle to add that portlet to the dashboard"
add_portlets: "Add Windows"

View File

@ -369,7 +369,7 @@
private_link: "Private"
settings_link: "Settings"
api_key_link: "API Key"
data_import_link: "Data Import"
data_import_link: "Data Import / Export"
width: "Largura"
youtube: "YouTube"
@ -430,7 +430,7 @@
private_view: "Private View"
public_view: "Public View"
channel_settings: "Channel Settings"
data_import: "Data Import"
data_import: "Data Import / Export"
portlets_all_displayed: "All available portlets are being displayed"
portlets_add: "Click a rectangle to add that portlet to the dashboard"
add_portlets: "Add Windows"

View File

@ -203,6 +203,9 @@ Thingspeak::Application.routes.draw do
match 'logout', to: "devise/sessions#destroy", :via => [:get, :post]
end
# streaming routes
match '/stream/channels/:id/feeds(.:format)', to: 'stream#channel_feed', :via => [:get, :post]
# add support for CORS preflighting (matches any OPTIONS route up to 4 levels deep)
# examples: /talkbacks, /talkbacks/4, /talkbacks/4/commands, /talkbacks/4/commands/6
match '/:foo(/:foo(/:foo)(/:foo))', :to => 'cors#preflight', :via => 'options'