1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

64 Commits

Author SHA1 Message Date
Chris Cummer
dd51994d8d Now expects the Google Calendar client_secret.yml to be in ~/.wtf/gcal/client_secret.yml 2018-04-04 15:38:29 -07:00
Chris Cummer
d41f5f5f99 Now expects config.yml to be in ~/.wtf/config.yml 2018-04-04 15:38:29 -07:00
Chris Cummer
c3f1d7ee36 Configuration used throughout the app 2018-04-04 15:38:29 -07:00
Chris Cummer
45d88c6700 Don't display time until in past calendar events 2018-04-04 11:58:55 -07:00
Chris Cummer
b58c0ea212 Url added to BambooHR config 2018-04-04 08:58:17 -07:00
Chris Cummer
b91e1be8df refreshInterval config added to BambooHR and Status 2018-04-03 18:03:34 -07:00
Chris Cummer
39cf8c6e1c YAML config added. App refreshInterval as first value 2018-04-03 17:54:52 -07:00
Chris Cummer
22a9f7b194 Gracefully handle calendar connection failures 2018-04-03 17:49:38 -07:00
Chris Cummer
a4a94f2984 Display a msg if no one is on call for a schedule 2018-04-03 16:41:24 -07:00
Chris Cummer
faa4a915c4 Don't display calendar until() time if in the past 2018-04-03 16:33:26 -07:00
Chris Cummer
12e6b2a9f2 Mark the current calendar event if there is one 2018-04-03 14:51:21 -07:00
Chris Cummer
ef10ac5d0c Refresh the calendar every five minutes 2018-04-03 09:10:52 -07:00
Chris Cummer
6a70bbe345 Clean the OpsGenie schedule names 2018-04-03 04:52:36 -07:00
Chris Cummer
0eb45dd748 Hands baby, hands 2018-04-03 04:38:15 -07:00
Chris Cummer
8c856477e1 Display names instead of emails in OpsGenie widget 2018-04-03 04:28:32 -07:00
Chris Cummer
5c9da163b2 Cleaner extraction code in the OpsGenie client 2018-04-03 04:20:59 -07:00
Chris Cummer
ff994cb793 OpsGenie on-call schedules into dashboard 2018-04-03 03:44:57 -07:00
Chris Cummer
3ebb299350 Display none when no git files 2018-04-02 22:12:05 -07:00
Chris Cummer
7555ae3b5c Border color on the widgets 2018-04-02 22:09:01 -07:00
Chris Cummer
46d3983cf3 Goofin' around 2018-04-02 21:56:59 -07:00
Chris Cummer
945dfc8db7 Display OpsGenie oncall data for one specific schedule 2018-04-02 21:41:46 -07:00
Chris Cummer
62502c24d0 An experimental attempt to kill the zombie processes 2018-04-02 11:00:45 -07:00
Chris Cummer
202d5ca95e Increased the git refresh interval 2018-04-02 08:45:56 -07:00
Chris Cummer
176a821079 The /wtf directory is now in source control 2018-04-02 08:43:42 -07:00
Chris Cummer
0b8a063487 ExecuteCommand() moved into the utils dumping ground 2018-04-02 08:36:43 -07:00
Chris Cummer
de7480b221 CenterText function out into utility function 2018-04-02 04:45:46 -07:00
Chris Cummer
278bf583c4 Remove the common refresher() code into BaseWidget 2018-04-02 04:38:55 -07:00
Chris Cummer
35e7fa0128 Add JIRA frame 2018-04-01 22:49:38 -07:00
Chris Cummer
c856ea3c82 Add OpsGenie frame and some layout modifications 2018-04-01 21:39:56 -07:00
Chris Cummer
a79588e9cc Git now displays changed files and last ten commits 2018-04-01 20:57:55 -07:00
Chris Cummer
e1e8af5e38 Display current git repo and branch 2018-03-31 23:44:27 -07:00
Chris Cummer
f6e7a2c030 WIP Git widget 2018-03-31 20:04:09 -07:00
Chris Cummer
d3cd19fd8f Starting a git implementation 2018-03-31 14:01:09 -07:00
Chris Cummer
7b5d06c670 Tweaks to the widget presentation 2018-03-31 13:59:23 -07:00
Chris Cummer
9756e1885f Calendar displays number of days/hours/minutes until the listed meeting 2018-03-31 13:43:03 -07:00
Chris Cummer
693a05cf43 More sensible timer units 2018-03-31 09:25:42 -07:00
Chris Cummer
a365c1df96 Display firewall status 2018-03-31 09:16:40 -07:00
Chris Cummer
42ce7f4353 Display current wifi network name 2018-03-31 08:17:57 -07:00
Chris Cummer
d82c7692be WIP Security info 2018-03-30 23:38:00 -07:00
Chris Cummer
59197e8d52 Another weather icon 2018-03-30 23:29:47 -07:00
Chris Cummer
b937d64d75 BaseWidget added to start reducing some of the code duplication 2018-03-30 22:29:19 -07:00
Chris Cummer
a09691c86f Better calendar display 2018-03-30 10:48:03 -07:00
Chris Cummer
4074893799 Slightly more fine-grained top-row grid 2018-03-30 10:41:55 -07:00
Chris Cummer
da8220ff0d Nowrap text on widget that don't need to wrap text 2018-03-30 10:37:38 -07:00
Chris Cummer
2f63a56eae Widgets have names 2018-03-30 10:21:05 -07:00
Chris Cummer
ab4774c86a Widgets refresh via goroutine
All widgets now refresh their own data using their own internal go
routine. This allows them to set their own update schedule (where
RefreshInterval is the time in seconds between refreshes).

The app uses a goroutine to redraw itself once a second.
2018-03-30 10:12:27 -07:00
Chris Cummer
25898dcb24 Sleep-based refresh timer for all widgets (don't judge me, it's temporary) 2018-03-30 09:37:48 -07:00
Chris Cummer
69e0034871 Status and weather refresh on a global interval 2018-03-29 22:26:59 -07:00
Chris Cummer
8a258225c9 Widgetized Status 2018-03-29 18:07:47 -07:00
Chris Cummer
951da43f99 Widgetized Google Calendar 2018-03-29 18:03:43 -07:00