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

1107 Commits

Author SHA1 Message Date
Chris Cummer
adf644876b Compile the static site with the new GCal config option 2018-08-01 12:52:00 -07:00
Bryan Austin
090c4e716c Default new option to false, update documentation 2018-08-01 12:50:37 -07:00
Bryan Austin
f1bbd8564f Add option to hide declined calendar events
My calendar view looks quite a bit cleaner with meetings I've said
"no" to taken out. This change adds a new option
`wtf.mods.gcal.showDeclined`, defaulting to `true`, which controls
whether or not the gcal module displays events where your status is
"declined".

I think as a quality of life feature, this is better off defaulting
to `false` (i.e. _don't_ show declined events by default), but when
it comes to potentially disrupting other users who've gotten used
to the existing setup, I'll leave that decision to you.
2018-08-01 12:50:37 -07:00
Chris Cummer
b6879c1122
Merge branch 'master' into fix-date-comparison 2018-08-01 15:00:42 -04:00
Bryan Austin
bb6e5f02f3 Fix issue with date comparison on the 1st of the month
Today, August 1st, I was surprised to see WTF missing the date
header over my calendar events. It turns out that when I extended
the `dayDivider` function to use a default (epoch) time for
considering whether to print a header over the first event (when
`prevEvent == nil`), I didn't consider that 1 out of every ~30
days will happen to have the same day of the month as the epoch
time.

To fix this and make date headers show up on the 1st of the month
again, dates are truncated to midnight and compared for equality,
rather than just comparing a component of them.

I *think* converting times to local time before truncating to
midnight is the correct way to do this - otherwise, midnight in
one time zone would never equal midnight in another time zone. As
it happens, all my meetings take place in San Francisco, so I'm not
the best test vector for how this works with meetings/calls in
different time zones.
2018-08-01 11:31:19 -07:00
Chris Cummer
5761f2858d Redraw when focusing via nav shortcuts to feel more responsive 2018-07-31 21:20:27 -07:00
Chris Cummer
54d6dde20e Add @jdevelop as a contributor 2018-07-31 20:45:42 -07:00
Eugene Dzhurinsky
f48e515270 Make the cryptolive using the global config reference.
Signed-off-by: Eugene Dzhurinsky <jdevelop@gmail.com>
2018-07-31 23:20:51 -04:00
Chris Cummer
500dd0ab17 Delete the weather temp file 2018-07-31 18:54:21 -07:00
Chris Cummer
f592e09a93 Add tests for wtf/colors.go exported functions 2018-07-31 17:46:03 -07:00
Chris Cummer
22c9da9923 Ignore my temp builds 2018-07-31 17:25:07 -07:00
Chris Cummer
caecfa986d Add @ReadmeCritic as a contributor 2018-07-31 16:06:38 -07:00
Chris Cummer
aed5076ef5
Merge pull request #269 from senorprogrammer/240-config-vars
240 config vars
2018-07-31 19:00:58 -04:00
Chris Cummer
54d82408f9 Clean up the Jira client code a bit 2018-07-31 15:42:41 -07:00
Chris Cummer
da9b863625 Generate the documentation for the new config changes 2018-07-31 15:37:02 -07:00
Chris Cummer
b6036a3eae Clean up the Zendesk module's API credentials loading 2018-07-31 15:34:42 -07:00
Chris Cummer
2fe8164e20 Clean up the Jenkins module's API credentials loading 2018-07-31 15:13:18 -07:00
Chris Cummer
ba38772760 Clean up the GitLab module's API credentials loading 2018-07-31 15:08:44 -07:00
Chris Cummer
dd4088d76e Clean up the CircleCI module's API credentials loading 2018-07-31 15:05:20 -07:00
Chris Cummer
8fdaf52610 Clean up the Gerrit module's API credentials loading 2018-07-31 15:02:27 -07:00
Chris Cummer
ebad879e0a Add new documentation for config API key modules 2018-07-31 14:48:26 -07:00
Chris Cummer
9059b73c51 Clean up the BambooHR module's API credentials loading 2018-07-31 14:34:18 -07:00
Chris Cummer
4e905700b9 Clean up the Todoist module's API credentials loading 2018-07-31 14:30:55 -07:00
Chris Cummer
f880c0ef19 Clean up the OpsGenie module's API credentials loading 2018-07-31 14:30:55 -07:00
Chris Cummer
a1c528e4d5 Clean up the NewRelic module's API credentials loading 2018-07-31 14:30:55 -07:00
Chris Cummer
ddd3eb9625 Clean up the Jira module's API credentials loading 2018-07-31 14:30:55 -07:00
Chris Cummer
0a019ff836 Clean up the GitHub module's API credentials loading 2018-07-31 14:30:55 -07:00
Chris Cummer
c7223843f0 Clean up the Weather module's API credentials loading
Now prioritizes API key configuration in the config file over ENV vars.
2018-07-31 14:30:55 -07:00
Chris Cummer
9ddd514631 Green title back into Todoist widget the way it used to be before I messed it up 2018-07-31 11:34:22 -07:00
Chris Cummer
9d01fc04bd Add default value for TravisCI org/com config 2018-07-31 11:10:15 -07:00
Chris Cummer
a375d54a57
Merge branch 'master' into travisci-pro-toggle 2018-07-31 13:38:10 -04:00
Chris Cummer
759551f503 Update README to not include contributor icons 0.1.1 2018-07-31 10:27:21 -07:00
Chris Cummer
3f3997ffd8 Add @ctwoodward as a contributor 2018-07-31 10:26:05 -07:00
Chris Cummer
752af72a49 Add @ruggi as a contributor 2018-07-31 10:25:18 -07:00
Chris Cummer
82232d21f6
Merge branch 'master' into windows 2018-07-31 13:20:56 -04:00
Chris Cummer
869cb0b9da Update dependencies 2018-07-31 10:20:12 -07:00
Chris Cummer
1052169c29
Merge branch 'master' into windows 2018-07-31 13:08:12 -04:00
Chris Cummer
015d7736db Closes #263. Fix spelling of GitHub in public-facing strings 2018-07-31 10:05:05 -07:00
Chris Cummer
ea5952bd44
Merge branch 'master' into fix-focus-modals 2018-07-31 12:58:28 -04:00
Chris Cummer
ac395f4ea6 Add smoke weather emoji because the PNW is burning this week 2018-07-31 09:54:10 -07:00
Federico Ruggi
d6a97a1b9c Merge branch 'master' into fix-focus-modals
# Conflicts:
#	wtf/focus_tracker.go
2018-07-31 18:35:43 +02:00
Federico Ruggi
e480687399 Merge branch 'master' into travisci-pro-toggle 2018-07-31 18:28:28 +02:00
Chris Cummer
d8c3189a3f
Merge branch 'master' into windows 2018-07-31 11:46:02 -04:00
Chris Cummer
ac08d7a6d4 Nav shortcuts are now configurable 2018-07-31 08:44:52 -07:00
Federico Ruggi
8a69e752dd update docs 2018-07-31 16:54:48 +02:00
Federico Ruggi
fa37bc73d0 toggle travis pro/org 2018-07-31 16:50:39 +02:00
Federico Ruggi
76bc33c7e6 do not set focus if already taken by widget 2018-07-31 16:43:42 +02:00
Chris Cummer
9ba6d6c561
Merge branch 'master' into windows 2018-07-31 01:44:32 -04:00
Chris Cummer
985c41d3b6 Improve styling on focusable character identifier 2018-07-30 22:31:30 -07:00
Chris Cummer
beb0c43b07 Add character identifiers to focusable widgets
When no widget has focus, press the letter key to focus on the widget
assigned to that letter.

Example:

    GitHub (d)

    Press "d" to focus on the GitHub widget.
2018-07-30 15:51:19 -07:00