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

852 Commits

Author SHA1 Message Date
Chris Cummer
1a898b05e3 Remove complexity from a lot of string display statements 2018-06-21 19:32:32 -07:00
Chris Cummer
24a46a652b Closes #218. AlertEvent.Timestamp as int64 instead of int
Also created a PR in the upstream repo to fix this:

https://github.com/yfronto/newrelic/pull/61
2018-06-21 08:53:28 -07:00
Chris Cummer
343612eb5e Update new config paths in documentation 2018-06-20 16:59:11 -07:00
Chris Cummer
0e141e03c8 Closes #217. Use XDG-compatible config directory
This change is largely experimental and it's entirely possible it could
wipe out your existing configuration. Be warned.

Old config path was: ~/.wtf/
New config path is:  ~/.config/wtf/

If an existing config directory already exists, this change attempts to
copy it to the new location.

Note that if your config file contains paths to files in the old config
directory, they won't work. You'll need to change them by hand.
2018-06-20 16:46:02 -07:00
Chris Cummer
d9d351497f
Update README.md 2018-06-20 14:08:58 -07:00
Chris Cummer
45a69162d5
Update CONTRIBUTING.md 2018-06-20 12:22:26 -07:00
Chris Cummer
bcc9b915cd Update the CONTRIBUTING documentation to reflect reality 2018-06-20 12:21:48 -07:00
Chris Cummer
4094e033ce Add dep docs to README 2018-06-20 12:19:25 -07:00
Chris Cummer
9b2071c8bf Add @amrnt as a contributor 2018-06-20 10:51:37 -07:00
Chris Cummer
889c097342 Export docs for GitHub enterprise configuration 2018-06-20 10:48:41 -07:00
Chris Cummer
55533d1e16
Merge branch 'master' into support-github-enterprise 2018-06-20 10:43:30 -07:00
Chris Cummer
ce072c1140
Merge pull request #214 from baustinanki/gcal-until-update
Update GCal module's "time until event" text more frequently
2018-06-20 10:41:35 -07:00
Chris Cummer
e22d3c4fe4
Merge branch 'master' into gcal-until-update 2018-06-20 10:40:55 -07:00
Chris Cummer
4fe9a73b14 Merge branch 'baustinanki-gcal-until-update' 2018-06-20 10:38:42 -07:00
Chris Cummer
9eabbd1691 Move GCal item check closer to point of impact 2018-06-20 10:38:31 -07:00
Chris Cummer
04aeab3c8c
Merge branch 'master' into gcal-until-update 2018-06-20 10:34:41 -07:00
Chris Cummer
37bf942788 Add Twitter link to the README 2018-06-20 10:27:31 -07:00
Chris Cummer
8f55020947 Add Twitter link to the README 2018-06-20 09:13:38 -07:00
Chris Cummer
2f0eb3895c
Merge branch 'master' into gcal-until-update 2018-06-20 04:32:08 -07:00
Chris Cummer
e96b126e9e Add link to Twitter account in docs 2018-06-19 15:47:46 -07:00
Chris Cummer
89806730a0
Merge branch 'master' into gcal-until-update 2018-06-19 15:29:15 -07:00
Chris Cummer
f163501975 Add documentation for GCal multiCalendar support 2018-06-19 15:27:11 -07:00
Chris Cummer
a533b44d02
Merge branch 'master' into gcal-optional-multi v0.0.9 2018-06-19 12:46:52 -07:00
Chris Cummer
620b6a0824 And remove the computer icon 2018-06-19 12:45:40 -07:00
Chris Cummer
a906aad042 Add @retgits as a contributor 2018-06-19 12:43:51 -07:00
Chris Cummer
16d56bb0d8 Close #204. Add Trello dependency to /vendor 2018-06-19 12:41:03 -07:00
Bryan Austin
4c70cae64b Make use of multiple calendars in GCal module optional
The change in PR #211 to make the GCal module use all calendars
writable to the user is not desirable in all situations. At my
organization, I have write access to calendars for conference
rooms, for people's OOO events, etc. that fill my screen,
obscuring the events on my own calendar.

This change puts the behavior in that change behind a new config
flag, `wtf.mods.gcal.multiCalendar`. It defaults to `false`, but
feel free to change that if you think this is behavior that most
users would want (I tend to default towards preserving existing
behavior, in this case from before that change).
2018-06-19 11:24:50 -07:00
Chris Cummer
3aec59b150 Merge branch 'retgits-master' 2018-06-19 10:25:12 -07:00
Chris Cummer
799d67b3f2 Add Trello link to the doc sidebar 2018-06-19 10:24:01 -07:00
Chris Cummer
12e4260c84
Merge branch 'master' into master 2018-06-19 10:11:36 -07:00
Chris Cummer
bb01ddf93d
Merge branch 'master' into gcal-until-update 2018-06-19 07:09:12 -07:00
Chris Cummer
a0f820e205 Add a note about logging writing to file even if widget is disabled 2018-06-19 07:07:45 -07:00
Chris Cummer
2d6271650b
Merge pull request #215 from anandsudhir/rename-logging-logger
Fix documentation for logging module
2018-06-19 07:05:18 -07:00
Anand Sudhir Prayaga
65ef6fc9eb Rename widget logging to logger to maintain consistency 2018-06-19 14:22:08 +02:00
Anand Sudhir Prayaga
95cd6ee23c Fix documentation for logging module 2018-06-19 11:10:29 +02:00
Bryan Austin
1077adbff2 Update GCal module's "time until event" text more frequently
While it's reasonable to have a refresh interval of several minutes
between the GCal module hitting the server, the fact that the module
(helpfully) displays the time until an event means that as times
approach zero, they become relatively inaccurate - "3m" might show
up next to a meeting that you were supposed to be in 2 minutes ago.
(don't worry, that hasn't happened to me yet)

This change introduces a goroutine to the GCal module that will
update the module text using the most recently cached copy of
events. By default, it runs every 30 seconds (this could be changed
to 0 to make it opt-in if desired) or however many seconds is
specified by the new config option `wtf.mods.gcal.textInterval`.

To make sure the goroutine doesn't cause any synchronization issues
if a text update were to trigger at the same time as a module
refresh, this change also adds the use of `sync.Mutex` to gate
setting GCal's text. Since both mutexes and having a goroutine within
individual modules are not the sort of thing any other code in
`wtf` does at this point in time, I'm definitely open to feedback
on whether there might be better ways to do this.

Additionally, the change in `wtf.go` fixes an issue I noticed when
testing if my `Disable()` function worked - the main `Widgets`
array wasn't being cleared out after disabling all widgets before
re-creating new copies of them, so it still held pointers to the
old ones.
2018-06-18 17:45:04 -07:00
Chris Cummer
7acb426978
Merge branch 'master' into master 2018-06-18 14:10:37 -07:00
retgits
e6d45e4eeb Added trello widget 2018-06-18 13:38:24 -07:00
Chris Cummer
8a0ace3837 Reset permissions on files that were incorrectly set to executable 2018-06-18 08:48:49 -07:00
Chris Cummer
f879cb18e9 Take another attempt to fix the badges 2018-06-17 15:01:22 -07:00
Chris Cummer
c37e73e168 Attempt to fix the README badges 2018-06-17 14:59:21 -07:00
Chris Cummer
ddf39c3f59 Update README to add list of all contributors 2018-06-17 14:53:36 -07:00
Chris Cummer
25517cd22c Add @andrewzolotukhin as a contributor 2018-06-17 14:37:14 -07:00
Chris Cummer
40442e0665 Add @BlackWebWolf as a contributor 2018-06-17 14:37:06 -07:00
Chris Cummer
cd8b41809b Add @lsipii as a contributor 2018-06-17 14:36:51 -07:00
Chris Cummer
f7ea5c080f Add @anandsudhir as a contributor 2018-06-17 14:36:43 -07:00
Chris Cummer
4370e7a84f Add @askl56 as a contributor 2018-06-17 14:35:42 -07:00
Chris Cummer
a7bde09bac Add @sherodtaylor as a contributor 2018-06-17 14:35:07 -07:00
Chris Cummer
b914c108fb Add @patrickelectric as a contributor 2018-06-17 14:34:56 -07:00
Chris Cummer
875c445bc3 Add @mcordell as a contributor 2018-06-17 14:34:48 -07:00