mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +01:00
Merge pull request #1907 from TracksApp/remove-google-gadget-integration
Remove the Google Gadget Integration
This commit is contained in:
commit
8a378aa2c4
14 changed files with 1 additions and 68 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
class IntegrationsController < ApplicationController
|
class IntegrationsController < ApplicationController
|
||||||
require 'mail'
|
require 'mail'
|
||||||
|
|
||||||
skip_before_filter :login_required, :only => [:cloudmailin, :search_plugin, :google_gadget]
|
skip_before_filter :login_required, :only => [:cloudmailin, :search_plugin]
|
||||||
skip_before_filter :verify_authenticity_token, only: [:cloudmailin]
|
skip_before_filter :verify_authenticity_token, only: [:cloudmailin]
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|
@ -17,10 +17,6 @@ class IntegrationsController < ApplicationController
|
||||||
pack('m').gsub(/\n/, '')
|
pack('m').gsub(/\n/, '')
|
||||||
end
|
end
|
||||||
|
|
||||||
def google_gadget
|
|
||||||
render :layout => false, :content_type => Mime::XML
|
|
||||||
end
|
|
||||||
|
|
||||||
def cloudmailin
|
def cloudmailin
|
||||||
if !verify_cloudmailin_signature
|
if !verify_cloudmailin_signature
|
||||||
render :text => "Message signature verification failed.", :status => 403
|
render :text => "Message signature verification failed.", :status => 403
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
<Module>
|
|
||||||
<ModulePrefs title="Tracks" directory_title="Tracks" description="<%= t('integrations.gmail_description') %>" author="Tracks" author_email="butshesagirl@rousette.org.uk" author_affiliation="Tracks" author_location="UK" title_url="http://www.getontracks.org/" screenshot="http://www.getontracks.org/images/screens/tracks_home.png" thumbnail="http://www.getontracks.org/images/screens/tracks_home_thumb.png" category="communication" category2="tools" height="300">
|
|
||||||
</ModulePrefs>
|
|
||||||
<Content type="url" href="<%= root_url %>mobile"/>
|
|
||||||
</Module>
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#email-cron-section">Anstehende Aufgaben automatisch sich via E-Mail zusenden lassen</a></li>
|
<li><a href="#email-cron-section">Anstehende Aufgaben automatisch sich via E-Mail zusenden lassen</a></li>
|
||||||
<li><a href="#message_gateway">Tracks mit einem Mail-Server integrieren, um Aufgaben via E-Mail zu erstellen</a></li>
|
<li><a href="#message_gateway">Tracks mit einem Mail-Server integrieren, um Aufgaben via E-Mail zu erstellen</a></li>
|
||||||
<li><a href="#google_gadget">Tracks zu Ihrer Google Gmail Seite hinzufügen</a></li>
|
|
||||||
</ul><br/>
|
</ul><br/>
|
||||||
<p>Sie haben weitere Beispiele?
|
<p>Sie haben weitere Beispiele?
|
||||||
<a href="http://www.getontracks.org/forums/viewforum/10/" title="Tracks | Tips and Tricks">Berichten Sie uns
|
<a href="http://www.getontracks.org/forums/viewforum/10/" title="Tracks | Tips and Tricks">Berichten Sie uns
|
||||||
|
|
@ -50,18 +49,3 @@
|
||||||
<p>You can also send all email to a specific Tracks user. Configure mail_dispatch in site.yml to <tt>single_user</tt> and pass the login of the user:
|
<p>You can also send all email to a specific Tracks user. Configure mail_dispatch in site.yml to <tt>single_user</tt> and pass the login of the user:
|
||||||
<pre>TRACKS_MAIL_RECEIVER=<%=current_user.login%> /PATH/TO/TRACKS/bin/rails r -e production 'MessageGateway.receive(STDIN.read)'</pre>
|
<pre>TRACKS_MAIL_RECEIVER=<%=current_user.login%> /PATH/TO/TRACKS/bin/rails r -e production 'MessageGateway.receive(STDIN.read)'</pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<a name="google_gadget"> </a>
|
|
||||||
<h2>Add Tracks as a Google Gmail gadget</h2>
|
|
||||||
<p>
|
|
||||||
You can now manage your projects/actions inside Gmail using Tracks Gmail Gadget.
|
|
||||||
Add Tracks Gmail gadget to the sidebar of Gmail and track your next actions
|
|
||||||
or add new action without explicitly open new browser tab for Tracks. Steps to set it up:
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>Sign in to Gmail and click Settings in the top right of your Gmail page. In Gmail setting page, click Labs tab</li>
|
|
||||||
<li>Enable the "Add any gadget by URL" feature. You will find it at bottom of the list. Select Enable radio button and click Save Changes button.</li>
|
|
||||||
<li>Now you can see Gadgets tab added to Gmail Settings. Go to the Gadgets tab</li>
|
|
||||||
<li>Paste following link to the Add a gadget by its URL: and then click Add button:<br/>
|
|
||||||
<pre><%= integrations_url + "/google_gadget.xml" %></pre></li>
|
|
||||||
</ul>
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
<li><a href="#message_gateway">Integrate Tracks with an email server to be able to send an action through email to Tracks</a></li>
|
<li><a href="#message_gateway">Integrate Tracks with an email server to be able to send an action through email to Tracks</a></li>
|
||||||
<li><a href="#mailgun">Send emails to Tracks with Mailgun</a>
|
<li><a href="#mailgun">Send emails to Tracks with Mailgun</a>
|
||||||
<li><a href="#todo_rich_message_format">Rich Todo Message email format</a>
|
<li><a href="#todo_rich_message_format">Rich Todo Message email format</a>
|
||||||
<li><a href="#google_gadget">Add Tracks as a Google Gmail gadget</a></li>
|
|
||||||
</ul><br/>
|
</ul><br/>
|
||||||
<p>Do you have one of your own to add?
|
<p>Do you have one of your own to add?
|
||||||
<a href="http://www.getontracks.org/forums/viewforum/10/" title="Tracks | Tips and Tricks">Tell us about
|
<a href="http://www.getontracks.org/forums/viewforum/10/" title="Tracks | Tips and Tricks">Tell us about
|
||||||
|
|
@ -118,18 +117,3 @@ Mailgun handling, as the data is processed the same way</p>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p>All symbols are optional, and text up to the first symbol (or end of string) is used as the description of the todo</p>
|
<p>All symbols are optional, and text up to the first symbol (or end of string) is used as the description of the todo</p>
|
||||||
|
|
||||||
<a name="google_gadget"> </a>
|
|
||||||
<h2>Add Tracks as a Google Gmail gadget</h2>
|
|
||||||
<p>
|
|
||||||
You can now manage your projects/actions inside Gmail using Tracks Gmail Gadget.
|
|
||||||
Add Tracks Gmail gadget to the sidebar of Gmail and track your next actions
|
|
||||||
or add new action without explicitly open new browser tab for Tracks. Steps to set it up:
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>Sign in to Gmail and click Settings in the top right of your Gmail page. In Gmail setting page, click Labs tab</li>
|
|
||||||
<li>Enable the "Add any gadget by URL" feature. You will find it at bottom of the list. Select Enable radio button and click Save Changes button.</li>
|
|
||||||
<li>Now you can see Gadgets tab added to Gmail Settings. Go to the Gadgets tab</li>
|
|
||||||
<li>Paste following link to the Add a gadget by its URL: and then click Add button:<br/>
|
|
||||||
<pre><%= integrations_url + "/google_gadget" %></pre></li>
|
|
||||||
</ul>
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#email-cron-section">Email jezelf automatisch de acties met een aflopende deadline</a></li>
|
<li><a href="#email-cron-section">Email jezelf automatisch de acties met een aflopende deadline</a></li>
|
||||||
<li><a href="#message_gateway">Integreer Tracks met een email server om een actie via email naar Tracks te sturen</a></li>
|
<li><a href="#message_gateway">Integreer Tracks met een email server om een actie via email naar Tracks te sturen</a></li>
|
||||||
<li><a href="#google_gadget">Voeg tracks toe als een Google Gmail gadget</a></li>
|
|
||||||
</ul><br/>
|
</ul><br/>
|
||||||
<p>Heb je een tip om hier toe te voegen?
|
<p>Heb je een tip om hier toe te voegen?
|
||||||
<a href="http://www.getontracks.org/forums/viewforum/10/" title="Tracks | Tips and Tricks">Vertel ons er over in onze
|
<a href="http://www.getontracks.org/forums/viewforum/10/" title="Tracks | Tips and Tricks">Vertel ons er over in onze
|
||||||
|
|
@ -51,19 +50,3 @@
|
||||||
<p>Je kan ook alle email naar een specifieke Tracks gebruiker sturen. Stel mail_dispatch in site.yml in op <tt>single_user</tt> en geeft de login van de gebruiker door:
|
<p>Je kan ook alle email naar een specifieke Tracks gebruiker sturen. Stel mail_dispatch in site.yml in op <tt>single_user</tt> en geeft de login van de gebruiker door:
|
||||||
<pre>TRACKS_MAIL_RECEIVER=<%=current_user.login%> /PATH/TO/TRACKS/bin/rails r -e production 'MessageGateway.receive(STDIN.read)'</pre>
|
<pre>TRACKS_MAIL_RECEIVER=<%=current_user.login%> /PATH/TO/TRACKS/bin/rails r -e production 'MessageGateway.receive(STDIN.read)'</pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<a name="google_gadget"> </a>
|
|
||||||
<h2>Voeg tracks toe als een Google Gmail gadget</h2>
|
|
||||||
<p>
|
|
||||||
Je kan nu ook jouw projects/actions beheren in Gmail met de Tracks Gmail Gadget.
|
|
||||||
Voeg Tracks Gmail gadget toe aan de sidebar van Gmail en volg jouw acties
|
|
||||||
of voeg een nieuwe actie toe zonder apart een nieuw browser tab/scherm te openen
|
|
||||||
voor Tracks. Om dit in te stellen:
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>Log bij Gmail in en kies Settings in de rechter-bovenkant van jouw Gmail pagina. In de Gmail setting pagina, kies de Labs tab</li>
|
|
||||||
<li>Zet de "Add any gadget by URL" feature aan. Deze kan je onderop de lijst vinden. Kies voor Enable and kies Save Changes.</li>
|
|
||||||
<li>Nu zie je dat de Gadgets tab is toegevoegd aan de Gmail Settings. Ga nu naar de Gadgets tab</li>
|
|
||||||
<li>Knip en plak de volgende link in de Add a gadget by its URL: en klik dan op de Add button:<br/>
|
|
||||||
<pre><%= integrations_url + "/google_gadget" %></pre></li>
|
|
||||||
</ul>
|
|
||||||
|
|
@ -308,7 +308,6 @@ cs:
|
||||||
footer:
|
footer:
|
||||||
send_feedback: Poslat zpětnou vazbu na %{version}
|
send_feedback: Poslat zpětnou vazbu na %{version}
|
||||||
integrations:
|
integrations:
|
||||||
gmail_description: Gadget pro Tracks do Gmailu
|
|
||||||
opensearch_description: Prohledat Tracks
|
opensearch_description: Prohledat Tracks
|
||||||
layouts:
|
layouts:
|
||||||
mobile_navigation:
|
mobile_navigation:
|
||||||
|
|
|
||||||
|
|
@ -313,7 +313,6 @@ de:
|
||||||
footer:
|
footer:
|
||||||
send_feedback: Senden Sie Feedback zu %{version}
|
send_feedback: Senden Sie Feedback zu %{version}
|
||||||
integrations:
|
integrations:
|
||||||
gmail_description: Gadget, um Tracks als Gadget zu Googlemail hinzuzufügen
|
|
||||||
opensearch_description: In Tracks suchen
|
opensearch_description: In Tracks suchen
|
||||||
layouts:
|
layouts:
|
||||||
mobile_navigation:
|
mobile_navigation:
|
||||||
|
|
|
||||||
|
|
@ -797,7 +797,6 @@ en:
|
||||||
save_status_message: "Note %{id} was saved"
|
save_status_message: "Note %{id} was saved"
|
||||||
integrations:
|
integrations:
|
||||||
opensearch_description: Search in Tracks
|
opensearch_description: Search in Tracks
|
||||||
gmail_description: Gadget to add Tracks to Gmail as a gadget
|
|
||||||
preferences:
|
preferences:
|
||||||
open_id_url: Your OpenID URL is
|
open_id_url: Your OpenID URL is
|
||||||
staleness_starts_after: Staleness starts after %{days} days
|
staleness_starts_after: Staleness starts after %{days} days
|
||||||
|
|
|
||||||
|
|
@ -310,7 +310,6 @@ es:
|
||||||
footer:
|
footer:
|
||||||
send_feedback: Envía comentarios sobre el %{version}
|
send_feedback: Envía comentarios sobre el %{version}
|
||||||
integrations:
|
integrations:
|
||||||
gmail_description: Gadget para añadir pistas a Gmail como un gadget
|
|
||||||
opensearch_description: Buscar en las Tracks
|
opensearch_description: Buscar en las Tracks
|
||||||
layouts:
|
layouts:
|
||||||
mobile_navigation:
|
mobile_navigation:
|
||||||
|
|
|
||||||
|
|
@ -340,7 +340,6 @@ fr:
|
||||||
submit: Sauvegarder %{model}
|
submit: Sauvegarder %{model}
|
||||||
update: Mettre à jour %{model}
|
update: Mettre à jour %{model}
|
||||||
integrations:
|
integrations:
|
||||||
gmail_description: Gadget pour ajouter Tracks à Gmail
|
|
||||||
opensearch_description: Rechercher dans Tracks
|
opensearch_description: Rechercher dans Tracks
|
||||||
layouts:
|
layouts:
|
||||||
mobile_navigation:
|
mobile_navigation:
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,6 @@ he:
|
||||||
footer:
|
footer:
|
||||||
send_feedback: "שליחת משוב על גירסא %{version}"
|
send_feedback: "שליחת משוב על גירסא %{version}"
|
||||||
integrations:
|
integrations:
|
||||||
gmail_description: "חֲפִיץ להוספת מסלולים ל-Gmail"
|
|
||||||
opensearch_description: "חיפוש במסלולים"
|
opensearch_description: "חיפוש במסלולים"
|
||||||
layouts:
|
layouts:
|
||||||
mobile_navigation:
|
mobile_navigation:
|
||||||
|
|
|
||||||
|
|
@ -358,7 +358,6 @@ nl:
|
||||||
submit: Bewaar %{model}
|
submit: Bewaar %{model}
|
||||||
update: Bijwerken %{model}
|
update: Bijwerken %{model}
|
||||||
integrations:
|
integrations:
|
||||||
gmail_description: Gadget om Tracks toe te voegen aan Gmail als een gadget
|
|
||||||
opensearch_description: Zoek in Tracks
|
opensearch_description: Zoek in Tracks
|
||||||
layouts:
|
layouts:
|
||||||
mobile_navigation:
|
mobile_navigation:
|
||||||
|
|
|
||||||
|
|
@ -376,7 +376,6 @@ ru:
|
||||||
submit: "Сохранить %{model}"
|
submit: "Сохранить %{model}"
|
||||||
update: "Обновить %{model}"
|
update: "Обновить %{model}"
|
||||||
integrations:
|
integrations:
|
||||||
gmail_description: "Гаджет для добавления Tracks в Gmail как гаджета боковой панели"
|
|
||||||
opensearch_description: "Искать в Tracks"
|
opensearch_description: "Искать в Tracks"
|
||||||
layouts:
|
layouts:
|
||||||
mobile_navigation:
|
mobile_navigation:
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ Rails.application.routes.draw do
|
||||||
get 'integrations/rest_api' => "integrations#rest_api", :as => 'rest_api_docs'
|
get 'integrations/rest_api' => "integrations#rest_api", :as => 'rest_api_docs'
|
||||||
post 'integrations/cloudmailin' => 'integrations#cloudmailin'
|
post 'integrations/cloudmailin' => 'integrations#cloudmailin'
|
||||||
get 'integrations/search_plugin' => "integrations#search_plugin", :as => 'search_plugin'
|
get 'integrations/search_plugin' => "integrations#search_plugin", :as => 'search_plugin'
|
||||||
get 'integrations/google_gadget.xml' => 'integrations#google_gadget', :as => 'google_gadget'
|
|
||||||
|
|
||||||
get 'preferences' => "preferences#index"
|
get 'preferences' => "preferences#index"
|
||||||
get 'preferences/render_date_format' => "preferences#render_date_format"
|
get 'preferences/render_date_format' => "preferences#render_date_format"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue