mirror of
				https://github.com/taigrr/wtf
				synced 2025-01-18 04:03:14 -08:00 
			
		
		
		
	Adds the Gcal and Jira modules to the documentation
This commit is contained in:
		
							parent
							
								
									2883741c21
								
							
						
					
					
						commit
						544d8c8db9
					
				| @ -24,8 +24,8 @@ Available modules: | ||||
|   <li><a href="/posts/modules/clocks">Clocks</a> | ||||
|   <li><a href="/posts/modules/git">Git</a> | ||||
|   <li><a href="/posts/modules/github">Github</a> | ||||
|   <li><a href="/posts/modules/gcal" class="disabled">Google Calendar</a> | ||||
|   <li><a href="/posts/modules/jira" class="disabled">Jira</a> | ||||
|   <li><a href="/posts/modules/gcal">Google Calendar</a> | ||||
|   <li><a href="/posts/modules/jira">Jira</a> | ||||
|   <li><a href="/posts/modules/newrelic">New Relic</a> | ||||
|   <li><a href="/posts/modules/opsgenie">OpsGenie</a> | ||||
|   <li><a href="/posts/modules/security">Security</a> | ||||
|  | ||||
							
								
								
									
										106
									
								
								_site/content/posts/modules/gcal.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										106
									
								
								_site/content/posts/modules/gcal.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,106 @@ | ||||
| --- | ||||
| title: "Google Calendar" | ||||
| date: 2018-05-10T08:25:33-07:00 | ||||
| draft: false | ||||
| --- | ||||
| 
 | ||||
| ## Description | ||||
| 
 | ||||
| Displays your upcoming Google calendar events. | ||||
| 
 | ||||
| <img src="/imgs/modules/gcal.png" width="320" height="389" alt="gcal screenshot" /> | ||||
| 
 | ||||
| ## Source Code | ||||
| 
 | ||||
| ```bash | ||||
| wtf/gcal/ | ||||
| ``` | ||||
| 
 | ||||
| ## Required ENV Variables | ||||
| 
 | ||||
| <span class="caption">Key:</span> `WTF_GOOGLE_CAL_CLIENT_ID` <br /> | ||||
| <span class="caption">Value:</span> Your <a href="https://developers.google.com/calendar/auth">Google API</a> client ID. | ||||
| 
 | ||||
| <span class="caption">Key:</span> `WTF_GOOGLE_CAL_CLIENT_SECRET` <br /> | ||||
| <span class="caption">Value:</span> Your <a href="https://developers.google.com/calendar/auth">Google API</a> client secret. | ||||
| 
 | ||||
| ## Keyboard Commands | ||||
| 
 | ||||
| None. | ||||
| 
 | ||||
| ## Configuration | ||||
| 
 | ||||
| ```yaml | ||||
| gcal: | ||||
|   colors: | ||||
|     title: "red" | ||||
|     description: "lightblue" | ||||
|     highlights: | ||||
|     - ['1on1|1\/11', 'green'] | ||||
|     - ['apple|google|aws', 'blue'] | ||||
|     - ['interview|meet', 'magenta'] | ||||
|     - ['lunch', 'yellow'] | ||||
|     past: "gray" | ||||
|   conflictIcon: "🚨" | ||||
|   currentIcon: "💥" | ||||
|   enabled: true | ||||
|   eventCount: 12 | ||||
|   position: | ||||
|     top: 0 | ||||
|     left: 0 | ||||
|     height: 4 | ||||
|     width: 1 | ||||
|   refreshInterval: 300 | ||||
|   secretFile: "~/.wtf/gcal/client_secret.json" | ||||
| ``` | ||||
| 
 | ||||
| ### Attributes | ||||
| 
 | ||||
| `colors.title` <br /> | ||||
| Specifies the default colour for calendar event titles. <br /> | ||||
| Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 | ||||
| color</a> name. | ||||
| 
 | ||||
| `colors.description` <br /> | ||||
| Specifies the default color for calendar event descriptions. <br /> | ||||
| Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 | ||||
| color</a> name. | ||||
| 
 | ||||
| `colors.highlights` <br /> | ||||
| A list of arrays that define a regular expression pattern and a color. | ||||
| If a calendar event title matches a regular expression, the title will | ||||
| be drawn in that colour. Over-rides the default title colour. <br /> | ||||
| Values: [a valid regular expression, any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.] | ||||
| 
 | ||||
| `colors.past` <br /> | ||||
| Specifies the color for calendar events that have passed. <br /> | ||||
| Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 | ||||
| color</a> name. | ||||
| 
 | ||||
| `conflictIcon` <br /> | ||||
| The icon displayed beside calendar events that have conflicting times | ||||
| (they intersect or overlap in some way). <br /> | ||||
| Values: Any displayable unicode character. | ||||
| 
 | ||||
| `currentIcon` <br /> | ||||
| The icon displayed beside the current calendar event. <br /> | ||||
| Values: Any displayable unicode character. | ||||
| 
 | ||||
| `enabled` <br /> | ||||
| Determines whether or not this module is executed and if its data displayed onscreen. <br /> | ||||
| Values: `true`, `false`. | ||||
| 
 | ||||
| `eventCount` <br /> | ||||
| The number of calendar events to display. <br /> | ||||
| Values: A positive integer, `0..n`. | ||||
| 
 | ||||
| `position` <br /> | ||||
| Defines where in the grid this module's widget will be displayed. <br /> | ||||
| 
 | ||||
| `refreshInterval` <br /> | ||||
| How often, in seconds, this module will update its data. <br /> | ||||
| Values: A positive integer, `0..n`. | ||||
| 
 | ||||
| `secretFile` <br /> | ||||
| Your <a href="https://developers.google.com/calendar/quickstart/go">Google client secret</a> JSON file. <br /> | ||||
| Values: A string representing a file path to the JSON secret file. | ||||
							
								
								
									
										64
									
								
								_site/content/posts/modules/jira.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								_site/content/posts/modules/jira.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,64 @@ | ||||
| --- | ||||
| title: "Jira" | ||||
| date: 2018-05-10T10:44:35-07:00 | ||||
| draft: false | ||||
| --- | ||||
| 
 | ||||
| ## Description | ||||
| 
 | ||||
| Displays all Jira issues assigned to you for the specified project. | ||||
| 
 | ||||
| <img src="/imgs/modules/jira.png" width="640" height="188" alt="jira screenshot" /> | ||||
| 
 | ||||
| ## Source Code | ||||
| 
 | ||||
| ```bash | ||||
| wtf/jira/ | ||||
| ``` | ||||
| 
 | ||||
| ## Required ENV Variables | ||||
| 
 | ||||
| <span class="caption">Key:</span> `WTF_JIRA_API_KEY` <br /> | ||||
| <span class="caption">Value:</span> Your <a href="https://confluence.atlassian.com/cloud/api-tokens-938839638.html">Jira API</a> key. | ||||
| 
 | ||||
| ## Keyboard Commands | ||||
| 
 | ||||
| None. | ||||
| 
 | ||||
| ## Configuration | ||||
| 
 | ||||
| ```yaml | ||||
| jira: | ||||
|   domain: "https://umbrellacorp.atlassian.net" | ||||
|   email: "chriscummer@me.com" | ||||
|   enabled: true | ||||
|   position: | ||||
|     top: 4 | ||||
|     left: 1 | ||||
|     height: 1 | ||||
|     width: 2 | ||||
|   project: "CORE" | ||||
|   refreshInterval: 900 | ||||
|   username: "chris.cummer" | ||||
| ``` | ||||
| 
 | ||||
| ### Attributes | ||||
| 
 | ||||
| `domain` <br /> | ||||
| 
 | ||||
| `email` <br /> | ||||
| 
 | ||||
| `enabled` <br /> | ||||
| Determines whether or not this module is executed and if its data displayed onscreen. <br /> | ||||
| Values: `true`, `false`. | ||||
| 
 | ||||
| `position` <br /> | ||||
| Defines where in the grid this module's widget will be displayed. <br /> | ||||
| 
 | ||||
| `project` <br /> | ||||
| 
 | ||||
| `refreshInterval` <br /> | ||||
| How often, in seconds, this module will update its data. <br /> | ||||
| Values: A positive integer, `0..n`. | ||||
| 
 | ||||
| `username` <br /> | ||||
							
								
								
									
										
											BIN
										
									
								
								_site/static/imgs/modules/gcal.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_site/static/imgs/modules/gcal.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 76 KiB | 
							
								
								
									
										
											BIN
										
									
								
								_site/static/imgs/modules/jira.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_site/static/imgs/modules/jira.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 89 KiB | 
| @ -23,8 +23,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -66,8 +66,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								docs/imgs/modules/gcal.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/imgs/modules/gcal.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 76 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/imgs/modules/jira.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/imgs/modules/jira.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 89 KiB | 
| @ -65,8 +65,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -6,11 +6,39 @@ | ||||
|     <description>Recent content on WTF</description> | ||||
|     <generator>Hugo -- gohugo.io</generator> | ||||
|     <language>en-us</language> | ||||
|     <lastBuildDate>Wed, 09 May 2018 19:20:20 -0700</lastBuildDate> | ||||
|     <lastBuildDate>Thu, 10 May 2018 10:44:35 -0700</lastBuildDate> | ||||
|      | ||||
| 	<atom:link href="http://wtfutil.com/index.xml" rel="self" type="application/rss+xml" /> | ||||
|      | ||||
|      | ||||
|     <item> | ||||
|       <title>Jira</title> | ||||
|       <link>http://wtfutil.com/posts/modules/jira/</link> | ||||
|       <pubDate>Thu, 10 May 2018 10:44:35 -0700</pubDate> | ||||
|        | ||||
|       <guid>http://wtfutil.com/posts/modules/jira/</guid> | ||||
|       <description>Description Displays all Jira issues assigned to you for the specified project. | ||||
| Source Code wtf/jira/ Required ENV Variables Key: WTF_JIRA_API_KEY Value: Your Jira API key. | ||||
| Keyboard Commands None. | ||||
| Configuration jira:domain:&#34;https://umbrellacorp.atlassian.net&#34;email:&#34;chriscummer@me.com&#34;enabled:trueposition:top:4left:1height:1width:2project:&#34;CORE&#34;refreshInterval:900username:&#34;chris.cummer&#34; Attributes domain email enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. | ||||
| position Defines where in the grid this module&rsquo;s widget will be displayed. project refreshInterval How often, in seconds, this module will update its data.</description> | ||||
|     </item> | ||||
|      | ||||
|     <item> | ||||
|       <title>Google Calendar</title> | ||||
|       <link>http://wtfutil.com/posts/modules/gcal/</link> | ||||
|       <pubDate>Thu, 10 May 2018 08:25:33 -0700</pubDate> | ||||
|        | ||||
|       <guid>http://wtfutil.com/posts/modules/gcal/</guid> | ||||
|       <description>Description Displays your upcoming Google calendar events. | ||||
| Source Code wtf/gcal/ Required ENV Variables Key: WTF_GOOGLE_CAL_CLIENT_ID Value: Your Google API client ID. | ||||
| Key: WTF_GOOGLE_CAL_CLIENT_SECRET Value: Your Google API client secret. | ||||
| Keyboard Commands None. | ||||
| Configuration gcal:colors:title:&#34;red&#34;description:&#34;lightblue&#34;highlights:-[&#39;1on1|1\/11&#39;,&#39;green&#39;]-[&#39;apple|google|aws&#39;,&#39;blue&#39;]-[&#39;interview|meet&#39;,&#39;magenta&#39;]-[&#39;lunch&#39;,&#39;yellow&#39;]past:&#34;gray&#34;conflictIcon:&#34;🚨&#34;currentIcon:&#34;💥&#34;enabled:trueeventCount:12position:top:0left:0height:4width:1refreshInterval:300secretFile:&#34;~/.wtf/gcal/client_secret.json&#34; Attributes colors.title Specifies the default colour for calendar event titles. Values: Any X11 color name. | ||||
| colors.description Specifies the default color for calendar event descriptions. Values: Any X11 color name. | ||||
| colors.highlights A list of arrays that define a regular expression pattern and a color.</description> | ||||
|     </item> | ||||
|      | ||||
|     <item> | ||||
|       <title>Github</title> | ||||
|       <link>http://wtfutil.com/posts/modules/github/</link> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -66,8 +66,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
| @ -92,6 +92,20 @@ | ||||
|             <h1 class="title">Posts</h1> | ||||
| <ul class="posts"> | ||||
|     <li> | ||||
|         <span> | ||||
|             <a href="http://wtfutil.com/posts/modules/jira/">Jira</a> | ||||
|              | ||||
|             <time class="pull-right post-list">May 10, 2018</time>     | ||||
|              | ||||
|         </span> | ||||
|     </li><li> | ||||
|         <span> | ||||
|             <a href="http://wtfutil.com/posts/modules/gcal/">Google Calendar</a> | ||||
|              | ||||
|             <time class="pull-right post-list">May 10, 2018</time>     | ||||
|              | ||||
|         </span> | ||||
|     </li><li> | ||||
|         <span> | ||||
|             <a href="http://wtfutil.com/posts/modules/github/">Github</a> | ||||
|              | ||||
|  | ||||
| @ -6,11 +6,39 @@ | ||||
|     <description>Recent content in Posts on WTF</description> | ||||
|     <generator>Hugo -- gohugo.io</generator> | ||||
|     <language>en-us</language> | ||||
|     <lastBuildDate>Wed, 09 May 2018 19:20:20 -0700</lastBuildDate> | ||||
|     <lastBuildDate>Thu, 10 May 2018 10:44:35 -0700</lastBuildDate> | ||||
|      | ||||
| 	<atom:link href="http://wtfutil.com/posts/index.xml" rel="self" type="application/rss+xml" /> | ||||
|      | ||||
|      | ||||
|     <item> | ||||
|       <title>Jira</title> | ||||
|       <link>http://wtfutil.com/posts/modules/jira/</link> | ||||
|       <pubDate>Thu, 10 May 2018 10:44:35 -0700</pubDate> | ||||
|        | ||||
|       <guid>http://wtfutil.com/posts/modules/jira/</guid> | ||||
|       <description>Description Displays all Jira issues assigned to you for the specified project. | ||||
| Source Code wtf/jira/ Required ENV Variables Key: WTF_JIRA_API_KEY Value: Your Jira API key. | ||||
| Keyboard Commands None. | ||||
| Configuration jira:domain:&#34;https://umbrellacorp.atlassian.net&#34;email:&#34;chriscummer@me.com&#34;enabled:trueposition:top:4left:1height:1width:2project:&#34;CORE&#34;refreshInterval:900username:&#34;chris.cummer&#34; Attributes domain email enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. | ||||
| position Defines where in the grid this module&rsquo;s widget will be displayed. project refreshInterval How often, in seconds, this module will update its data.</description> | ||||
|     </item> | ||||
|      | ||||
|     <item> | ||||
|       <title>Google Calendar</title> | ||||
|       <link>http://wtfutil.com/posts/modules/gcal/</link> | ||||
|       <pubDate>Thu, 10 May 2018 08:25:33 -0700</pubDate> | ||||
|        | ||||
|       <guid>http://wtfutil.com/posts/modules/gcal/</guid> | ||||
|       <description>Description Displays your upcoming Google calendar events. | ||||
| Source Code wtf/gcal/ Required ENV Variables Key: WTF_GOOGLE_CAL_CLIENT_ID Value: Your Google API client ID. | ||||
| Key: WTF_GOOGLE_CAL_CLIENT_SECRET Value: Your Google API client secret. | ||||
| Keyboard Commands None. | ||||
| Configuration gcal:colors:title:&#34;red&#34;description:&#34;lightblue&#34;highlights:-[&#39;1on1|1\/11&#39;,&#39;green&#39;]-[&#39;apple|google|aws&#39;,&#39;blue&#39;]-[&#39;interview|meet&#39;,&#39;magenta&#39;]-[&#39;lunch&#39;,&#39;yellow&#39;]past:&#34;gray&#34;conflictIcon:&#34;🚨&#34;currentIcon:&#34;💥&#34;enabled:trueeventCount:12position:top:0left:0height:4width:1refreshInterval:300secretFile:&#34;~/.wtf/gcal/client_secret.json&#34; Attributes colors.title Specifies the default colour for calendar event titles. Values: Any X11 color name. | ||||
| colors.description Specifies the default color for calendar event descriptions. Values: Any X11 color name. | ||||
| colors.highlights A list of arrays that define a regular expression pattern and a color.</description> | ||||
|     </item> | ||||
|      | ||||
|     <item> | ||||
|       <title>Github</title> | ||||
|       <link>http://wtfutil.com/posts/modules/github/</link> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
							
								
								
									
										212
									
								
								docs/posts/modules/gcal/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										212
									
								
								docs/posts/modules/gcal/index.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,212 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en-us" class="wf-firasans-n4-active wf-active"> | ||||
| 	<head> | ||||
|     <link href="http://gmpg.org/xfn/11" rel="profile"> | ||||
| <meta charset="utf-8"> | ||||
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||||
| <!-- Enable responsiveness on mobile devices --> | ||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||||
| 
 | ||||
| 
 | ||||
| <meta name="generator" content="Hugo 0.38.2" /> | ||||
| 
 | ||||
| <title>Google Calendar | WTF</title> | ||||
| <meta content="Google Calendar - WTF" property="og:title"> | ||||
| <meta content=" - " property="og:description"> | ||||
| <!-- CSS --> | ||||
| <link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css"> | ||||
| <link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i|Roboto+Mono:300,300i,400,400i" rel="stylesheet"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/print.css" media="print"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/poole.css"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/hyde.css"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/wtf.css"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/syntax.css"> | ||||
| <!-- Font-Awesome --> | ||||
| <script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script> | ||||
| 
 | ||||
| <!-- Customised CSS --> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/custom.css"> | ||||
| <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||||
| <!--[if lt IE 9]> | ||||
| <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> | ||||
| <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||||
| <![endif]--> | ||||
| <!-- Icons --> | ||||
| <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png"> | ||||
| <link rel="shortcut icon" href="/favicon.png"> | ||||
| 
 | ||||
| <script async defer src="https://buttons.github.io/buttons.js"></script> | ||||
| 
 | ||||
| 	</head> | ||||
|     <body> | ||||
|         <div class="sidebar"> | ||||
| 	<div class="container sidebar-sticky"> | ||||
| 		<div class="sidebar-about text-center"> | ||||
| 			 | ||||
|       <a href="http://wtfutil.com/"> <img src="/img/wtf.png" alt="WFT Logo" class="" width=""> </a> | ||||
| 			<p class="lead"> | ||||
| 				  | ||||
| 			</p> | ||||
| 		</div> | ||||
| 
 | ||||
|     <div> | ||||
|       <h3 style="color: white;">Content</h3> | ||||
| 
 | ||||
|       <ul style="list-style-type: none;"> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/installation/" class="disabled">Installation</a></li> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/configuration/">Configuration</a></li> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/howto/" class="disabled">How to Use</a></li> | ||||
|       </ul> | ||||
| 
 | ||||
|       <ul style="list-style-type: none;"> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/modules/">Modules</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/bamboohr/">BambooHR</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/weather/">Weather</a></li> | ||||
|       </ul> | ||||
|     </div> | ||||
| 
 | ||||
|     <p class="copyright"> | ||||
|       © 2018 Chris Cummer. | ||||
|       <br /> | ||||
|       <a href="https://creativecommons.org/licenses/by/4.0">Some Rights Reserved</a>. | ||||
|     </p> | ||||
|     <p class="copyright"> | ||||
|       Built with <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>. | ||||
|     </p> | ||||
| 	</div> | ||||
| </div> | ||||
| 
 | ||||
|         <div class="content container"> | ||||
|             <div class="post"> | ||||
|   <h1>Google Calendar</h1> | ||||
|    | ||||
|   <div class="col-sm-12 col-md-12"> | ||||
|     <span class="text-left post-date meta"> | ||||
|              | ||||
|         | ||||
|         <i class="fas fa-calendar-alt"></i> May 10, 2018 | ||||
|        | ||||
|        | ||||
|        | ||||
|        | ||||
|       <br/> | ||||
|       <i class="fas fa-clock"></i> 2 min read  | ||||
|       </span>   | ||||
|   </div>     | ||||
|    | ||||
|    | ||||
| 
 | ||||
| <h2 id="description">Description</h2> | ||||
| 
 | ||||
| <p>Displays your upcoming Google calendar events.</p> | ||||
| 
 | ||||
| <p><img src="/imgs/modules/gcal.png" width="320" height="389" alt="gcal screenshot" /></p> | ||||
| 
 | ||||
| <h2 id="source-code">Source Code</h2> | ||||
| <div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash">wtf/gcal/</code></pre></div> | ||||
| <h2 id="required-env-variables">Required ENV Variables</h2> | ||||
| 
 | ||||
| <p><span class="caption">Key:</span> <code>WTF_GOOGLE_CAL_CLIENT_ID</code> <br /> | ||||
| <span class="caption">Value:</span> Your <a href="https://developers.google.com/calendar/auth">Google API</a> client ID.</p> | ||||
| 
 | ||||
| <p><span class="caption">Key:</span> <code>WTF_GOOGLE_CAL_CLIENT_SECRET</code> <br /> | ||||
| <span class="caption">Value:</span> Your <a href="https://developers.google.com/calendar/auth">Google API</a> client secret.</p> | ||||
| 
 | ||||
| <h2 id="keyboard-commands">Keyboard Commands</h2> | ||||
| 
 | ||||
| <p>None.</p> | ||||
| 
 | ||||
| <h2 id="configuration">Configuration</h2> | ||||
| <div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">gcal<span class="p">:</span><span class="w"> | ||||
| </span><span class="w">  </span>colors<span class="p">:</span><span class="w"> | ||||
| </span><span class="w">    </span>title<span class="p">:</span><span class="w"> </span><span class="s2">"red"</span><span class="w"> | ||||
| </span><span class="w">    </span>description<span class="p">:</span><span class="w"> </span><span class="s2">"lightblue"</span><span class="w"> | ||||
| </span><span class="w">    </span>highlights<span class="p">:</span><span class="w"> | ||||
| </span><span class="w">    </span>-<span class="w"> </span><span class="p">[</span><span class="s1">'1on1|1\/11'</span><span class="p">,</span><span class="w"> </span><span class="s1">'green'</span><span class="p">]</span><span class="w"> | ||||
| </span><span class="w">    </span>-<span class="w"> </span><span class="p">[</span><span class="s1">'apple|google|aws'</span><span class="p">,</span><span class="w"> </span><span class="s1">'blue'</span><span class="p">]</span><span class="w"> | ||||
| </span><span class="w">    </span>-<span class="w"> </span><span class="p">[</span><span class="s1">'interview|meet'</span><span class="p">,</span><span class="w"> </span><span class="s1">'magenta'</span><span class="p">]</span><span class="w"> | ||||
| </span><span class="w">    </span>-<span class="w"> </span><span class="p">[</span><span class="s1">'lunch'</span><span class="p">,</span><span class="w"> </span><span class="s1">'yellow'</span><span class="p">]</span><span class="w"> | ||||
| </span><span class="w">    </span>past<span class="p">:</span><span class="w"> </span><span class="s2">"gray"</span><span class="w"> | ||||
| </span><span class="w">  </span>conflictIcon<span class="p">:</span><span class="w"> </span><span class="s2">"🚨"</span><span class="w"> | ||||
| </span><span class="w">  </span>currentIcon<span class="p">:</span><span class="w"> </span><span class="s2">"💥"</span><span class="w"> | ||||
| </span><span class="w">  </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w"> | ||||
| </span><span class="w">  </span>eventCount<span class="p">:</span><span class="w"> </span><span class="m">12</span><span class="w"> | ||||
| </span><span class="w">  </span>position<span class="p">:</span><span class="w"> | ||||
| </span><span class="w">    </span>top<span class="p">:</span><span class="w"> </span><span class="m">0</span><span class="w"> | ||||
| </span><span class="w">    </span>left<span class="p">:</span><span class="w"> </span><span class="m">0</span><span class="w"> | ||||
| </span><span class="w">    </span>height<span class="p">:</span><span class="w"> </span><span class="m">4</span><span class="w"> | ||||
| </span><span class="w">    </span>width<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w"> | ||||
| </span><span class="w">  </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">300</span><span class="w"> | ||||
| </span><span class="w">  </span>secretFile<span class="p">:</span><span class="w"> </span><span class="s2">"~/.wtf/gcal/client_secret.json"</span></code></pre></div> | ||||
| <h3 id="attributes">Attributes</h3> | ||||
| 
 | ||||
| <p><code>colors.title</code> <br /> | ||||
| Specifies the default colour for calendar event titles. <br /> | ||||
| Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 | ||||
| color</a> name.</p> | ||||
| 
 | ||||
| <p><code>colors.description</code> <br /> | ||||
| Specifies the default color for calendar event descriptions. <br /> | ||||
| Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 | ||||
| color</a> name.</p> | ||||
| 
 | ||||
| <p><code>colors.highlights</code> <br /> | ||||
| A list of arrays that define a regular expression pattern and a color. | ||||
| If a calendar event title matches a regular expression, the title will | ||||
| be drawn in that colour. Over-rides the default title colour. <br /> | ||||
| Values: [a valid regular expression, any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.]</p> | ||||
| 
 | ||||
| <p><code>colors.past</code> <br /> | ||||
| Specifies the color for calendar events that have passed. <br /> | ||||
| Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 | ||||
| color</a> name.</p> | ||||
| 
 | ||||
| <p><code>conflictIcon</code> <br /> | ||||
| The icon displayed beside calendar events that have conflicting times | ||||
| (they intersect or overlap in some way). <br /> | ||||
| Values: Any displayable unicode character.</p> | ||||
| 
 | ||||
| <p><code>currentIcon</code> <br /> | ||||
| The icon displayed beside the current calendar event. <br /> | ||||
| Values: Any displayable unicode character.</p> | ||||
| 
 | ||||
| <p><code>enabled</code> <br /> | ||||
| Determines whether or not this module is executed and if its data displayed onscreen. <br /> | ||||
| Values: <code>true</code>, <code>false</code>.</p> | ||||
| 
 | ||||
| <p><code>eventCount</code> <br /> | ||||
| The number of calendar events to display. <br /> | ||||
| Values: A positive integer, <code>0..n</code>.</p> | ||||
| 
 | ||||
| <p><code>position</code> <br /> | ||||
| Defines where in the grid this module’s widget will be displayed. <br /></p> | ||||
| 
 | ||||
| <p><code>refreshInterval</code> <br /> | ||||
| How often, in seconds, this module will update its data. <br /> | ||||
| Values: A positive integer, <code>0..n</code>.</p> | ||||
| 
 | ||||
| <p><code>secretFile</code> <br /> | ||||
| Your <a href="https://developers.google.com/calendar/quickstart/go">Google client secret</a> JSON file. <br /> | ||||
| Values: A string representing a file path to the JSON secret file.</p> | ||||
| 
 | ||||
| </div> | ||||
|             <div class="footer"> | ||||
|                  | ||||
| 
 | ||||
| 
 | ||||
|             </div> | ||||
|         </div> | ||||
|          | ||||
|                  | ||||
|     </body> | ||||
| </html> | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
| @ -124,8 +124,8 @@ display in the “Clocks” widget.</p> | ||||
|   <li><a href="/posts/modules/clocks">Clocks</a> | ||||
|   <li><a href="/posts/modules/git">Git</a> | ||||
|   <li><a href="/posts/modules/github">Github</a> | ||||
|   <li><a href="/posts/modules/gcal" class="disabled">Google Calendar</a> | ||||
|   <li><a href="/posts/modules/jira" class="disabled">Jira</a> | ||||
|   <li><a href="/posts/modules/gcal">Google Calendar</a> | ||||
|   <li><a href="/posts/modules/jira">Jira</a> | ||||
|   <li><a href="/posts/modules/newrelic">New Relic</a> | ||||
|   <li><a href="/posts/modules/opsgenie">OpsGenie</a> | ||||
|   <li><a href="/posts/modules/security">Security</a> | ||||
|  | ||||
							
								
								
									
										170
									
								
								docs/posts/modules/jira/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										170
									
								
								docs/posts/modules/jira/index.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,170 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en-us" class="wf-firasans-n4-active wf-active"> | ||||
| 	<head> | ||||
|     <link href="http://gmpg.org/xfn/11" rel="profile"> | ||||
| <meta charset="utf-8"> | ||||
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||||
| <!-- Enable responsiveness on mobile devices --> | ||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||||
| 
 | ||||
| 
 | ||||
| <meta name="generator" content="Hugo 0.38.2" /> | ||||
| 
 | ||||
| <title>Jira | WTF</title> | ||||
| <meta content="Jira - WTF" property="og:title"> | ||||
| <meta content=" - " property="og:description"> | ||||
| <!-- CSS --> | ||||
| <link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css"> | ||||
| <link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i|Roboto+Mono:300,300i,400,400i" rel="stylesheet"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/print.css" media="print"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/poole.css"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/hyde.css"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/wtf.css"> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/syntax.css"> | ||||
| <!-- Font-Awesome --> | ||||
| <script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script> | ||||
| 
 | ||||
| <!-- Customised CSS --> | ||||
| <link rel="stylesheet" href="http://wtfutil.com/css/custom.css"> | ||||
| <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||||
| <!--[if lt IE 9]> | ||||
| <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> | ||||
| <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||||
| <![endif]--> | ||||
| <!-- Icons --> | ||||
| <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png"> | ||||
| <link rel="shortcut icon" href="/favicon.png"> | ||||
| 
 | ||||
| <script async defer src="https://buttons.github.io/buttons.js"></script> | ||||
| 
 | ||||
| 	</head> | ||||
|     <body> | ||||
|         <div class="sidebar"> | ||||
| 	<div class="container sidebar-sticky"> | ||||
| 		<div class="sidebar-about text-center"> | ||||
| 			 | ||||
|       <a href="http://wtfutil.com/"> <img src="/img/wtf.png" alt="WFT Logo" class="" width=""> </a> | ||||
| 			<p class="lead"> | ||||
| 				  | ||||
| 			</p> | ||||
| 		</div> | ||||
| 
 | ||||
|     <div> | ||||
|       <h3 style="color: white;">Content</h3> | ||||
| 
 | ||||
|       <ul style="list-style-type: none;"> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/installation/" class="disabled">Installation</a></li> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/configuration/">Configuration</a></li> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/howto/" class="disabled">How to Use</a></li> | ||||
|       </ul> | ||||
| 
 | ||||
|       <ul style="list-style-type: none;"> | ||||
|         <li class="sidebar-list-item-1"><a href="/posts/modules/">Modules</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/bamboohr/">BambooHR</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/weather/">Weather</a></li> | ||||
|       </ul> | ||||
|     </div> | ||||
| 
 | ||||
|     <p class="copyright"> | ||||
|       © 2018 Chris Cummer. | ||||
|       <br /> | ||||
|       <a href="https://creativecommons.org/licenses/by/4.0">Some Rights Reserved</a>. | ||||
|     </p> | ||||
|     <p class="copyright"> | ||||
|       Built with <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>. | ||||
|     </p> | ||||
| 	</div> | ||||
| </div> | ||||
| 
 | ||||
|         <div class="content container"> | ||||
|             <div class="post"> | ||||
|   <h1>Jira</h1> | ||||
|    | ||||
|   <div class="col-sm-12 col-md-12"> | ||||
|     <span class="text-left post-date meta"> | ||||
|              | ||||
|         | ||||
|         <i class="fas fa-calendar-alt"></i> May 10, 2018 | ||||
|        | ||||
|        | ||||
|        | ||||
|        | ||||
|       <br/> | ||||
|       <i class="fas fa-clock"></i> 1 min read  | ||||
|       </span>   | ||||
|   </div>     | ||||
|    | ||||
|    | ||||
| 
 | ||||
| <h2 id="description">Description</h2> | ||||
| 
 | ||||
| <p>Displays all Jira issues assigned to you for the specified project.</p> | ||||
| 
 | ||||
| <p><img src="/imgs/modules/jira.png" width="640" height="188" alt="jira screenshot" /></p> | ||||
| 
 | ||||
| <h2 id="source-code">Source Code</h2> | ||||
| <div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash">wtf/jira/</code></pre></div> | ||||
| <h2 id="required-env-variables">Required ENV Variables</h2> | ||||
| 
 | ||||
| <p><span class="caption">Key:</span> <code>WTF_JIRA_API_KEY</code> <br /> | ||||
| <span class="caption">Value:</span> Your <a href="https://confluence.atlassian.com/cloud/api-tokens-938839638.html">Jira API</a> key.</p> | ||||
| 
 | ||||
| <h2 id="keyboard-commands">Keyboard Commands</h2> | ||||
| 
 | ||||
| <p>None.</p> | ||||
| 
 | ||||
| <h2 id="configuration">Configuration</h2> | ||||
| <div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">jira<span class="p">:</span><span class="w"> | ||||
| </span><span class="w">  </span>domain<span class="p">:</span><span class="w"> </span><span class="s2">"https://umbrellacorp.atlassian.net"</span><span class="w"> | ||||
| </span><span class="w">  </span>email<span class="p">:</span><span class="w"> </span><span class="s2">"chriscummer@me.com"</span><span class="w"> | ||||
| </span><span class="w">  </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w"> | ||||
| </span><span class="w">  </span>position<span class="p">:</span><span class="w"> | ||||
| </span><span class="w">    </span>top<span class="p">:</span><span class="w"> </span><span class="m">4</span><span class="w"> | ||||
| </span><span class="w">    </span>left<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w"> | ||||
| </span><span class="w">    </span>height<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w"> | ||||
| </span><span class="w">    </span>width<span class="p">:</span><span class="w"> </span><span class="m">2</span><span class="w"> | ||||
| </span><span class="w">  </span>project<span class="p">:</span><span class="w"> </span><span class="s2">"CORE"</span><span class="w"> | ||||
| </span><span class="w">  </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">900</span><span class="w"> | ||||
| </span><span class="w">  </span>username<span class="p">:</span><span class="w"> </span><span class="s2">"chris.cummer"</span></code></pre></div> | ||||
| <h3 id="attributes">Attributes</h3> | ||||
| 
 | ||||
| <p><code>domain</code> <br /></p> | ||||
| 
 | ||||
| <p><code>email</code> <br /></p> | ||||
| 
 | ||||
| <p><code>enabled</code> <br /> | ||||
| Determines whether or not this module is executed and if its data displayed onscreen. <br /> | ||||
| Values: <code>true</code>, <code>false</code>.</p> | ||||
| 
 | ||||
| <p><code>position</code> <br /> | ||||
| Defines where in the grid this module’s widget will be displayed. <br /></p> | ||||
| 
 | ||||
| <p><code>project</code> <br /></p> | ||||
| 
 | ||||
| <p><code>refreshInterval</code> <br /> | ||||
| How often, in seconds, this module will update its data. <br /> | ||||
| Values: A positive integer, <code>0..n</code>.</p> | ||||
| 
 | ||||
| <p><code>username</code> <br /></p> | ||||
| 
 | ||||
| </div> | ||||
|             <div class="footer"> | ||||
|                  | ||||
| 
 | ||||
| 
 | ||||
|             </div> | ||||
|         </div> | ||||
|          | ||||
|                  | ||||
|     </body> | ||||
| </html> | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -64,8 +64,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -2,6 +2,16 @@ | ||||
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" | ||||
|   xmlns:xhtml="http://www.w3.org/1999/xhtml"> | ||||
|    | ||||
|   <url> | ||||
|     <loc>http://wtfutil.com/posts/modules/jira/</loc> | ||||
|     <lastmod>2018-05-10T10:44:35-07:00</lastmod> | ||||
|   </url> | ||||
|    | ||||
|   <url> | ||||
|     <loc>http://wtfutil.com/posts/modules/gcal/</loc> | ||||
|     <lastmod>2018-05-10T08:25:33-07:00</lastmod> | ||||
|   </url> | ||||
|    | ||||
|   <url> | ||||
|     <loc>http://wtfutil.com/posts/modules/github/</loc> | ||||
|     <lastmod>2018-05-09T19:20:20-07:00</lastmod> | ||||
| @ -69,7 +79,7 @@ | ||||
|    | ||||
|   <url> | ||||
|     <loc>http://wtfutil.com/posts/</loc> | ||||
|     <lastmod>2018-05-09T19:20:20-07:00</lastmod> | ||||
|     <lastmod>2018-05-10T10:44:35-07:00</lastmod> | ||||
|     <priority>0</priority> | ||||
|   </url> | ||||
|    | ||||
| @ -80,7 +90,7 @@ | ||||
|    | ||||
|   <url> | ||||
|     <loc>http://wtfutil.com/</loc> | ||||
|     <lastmod>2018-05-09T19:20:20-07:00</lastmod> | ||||
|     <lastmod>2018-05-10T10:44:35-07:00</lastmod> | ||||
|     <priority>0</priority> | ||||
|   </url> | ||||
|    | ||||
|  | ||||
| @ -66,8 +66,8 @@ | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/github/">Github</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||||
|         <li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||||
|  | ||||
| @ -78,7 +78,7 @@ func (widget *Widget) buildRepoCollection(repoData map[string]interface{}) []*Gi | ||||
| 
 | ||||
| 	for name, owner := range repoData { | ||||
| 		repo := NewGithubRepo(name, owner.(string)) | ||||
| 		githubColl = append(githubRepos, repo) | ||||
| 		githubRepos = append(githubRepos, repo) | ||||
| 	} | ||||
| 
 | ||||
| 	return githubRepos | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user