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

1186 Commits

Author SHA1 Message Date
Chris Cummer
31e77a59ad Closes #222. PrettyWeather has properly-rendering colours, thanks to @bertl4398 2018-07-18 15:04:23 -07:00
Chris Cummer
cba67af55c Specs for generic checklist working again 2018-07-18 10:21:30 -07:00
Chris Cummer
8fc6b83d59 Move generic checklist code into its own package 2018-07-18 10:15:46 -07:00
Chris Cummer
0cdfe8d785 Jira highlight spans entire width of widget 2018-07-18 10:11:12 -07:00
Chris Cummer
1be970eaec List highlights span entire widget width 2018-07-18 10:06:28 -07:00
Chris Cummer
13780f0ece Add wtf.Checklist to Todoist module 2018-07-18 09:52:18 -07:00
Chris Cummer
c235d8a566
Merge pull request #248 from anandsudhir/fix-gerrit-documentation
fix documentation for configuring the Gerrit module
2018-07-18 11:35:55 -04:00
Chris Cummer
5ad1035cad
Merge branch 'master' into fix-gerrit-documentation 2018-07-18 11:34:35 -04:00
Chris Cummer
81fa3cfe2a
Merge pull request #247 from anandsudhir/skip-certificate-check-jenkins
add option to skip verification of jenkins server's certificate chain and hostname
2018-07-18 11:20:47 -04:00
Anand Sudhir Prayaga
37b0d22dba add option to skip verification of jenkins server's certificate chain and hostname 2018-07-18 14:10:29 +02:00
Anand Sudhir Prayaga
b17858269a fix documentation for configuring the Gerrit module 2018-07-18 13:56:34 +02:00
Chris Cummer
4a1caf6e7c Use -s -w to reduce the final binary size when running 'make install' 2018-07-17 11:55:40 -07:00
Chris Cummer
dc50bce2ed Add -p/--profile flag to enable cpu/memory profiling
1. Compile the binary with the profiling flag in it.
2. Run the binary with profiling enabled: ./wtf -p
3. Run the go profiling tool against the resulting *.pprof file:

    go tool pprof --pdf /path/to/wtfbinary /var/path/to/cpu.pprof >
profile.pdf

4. View pretty PDF file
2018-07-17 10:17:35 -07:00
Chris Cummer
c8ff175a62 Update contributors list 2018-07-16 13:01:01 -07:00
Chris Cummer
e9674121d6 Add @brendano86 as a contributor 2018-07-16 12:59:46 -07:00
Chris Cummer
e7dab368c3 Add @kvj as a contributor 2018-07-16 12:59:21 -07:00
Chris Cummer
2a27484594
Merge pull request #246 from brendano86/master
Brand GitLab correctly (Gitlab => GitLab where needed)
2018-07-16 15:57:42 -04:00
Brendan O'Leary
8992da9023 Brand GitLab correctly (Gitlab => GitLab where needed) 2018-07-16 11:55:17 -07:00
Chris Cummer
d34fd5b7c1 Add documentation for GitHub.enableStatus config option 2018-07-14 17:59:53 -07:00
Chris Cummer
46f42672e0
Merge pull request #242 from baustinanki/github-issue-status
Add optional PR status display in Github module
2018-07-14 20:57:04 -04:00
Chris Cummer
8892005890
Merge branch 'master' into github-issue-status 2018-07-13 00:57:59 -04:00
Bryan Austin
3ee6304e63 Add optional PR status display in Github module
While spamming refresh on a pull request today to see if required
builds finished yet, it occurred to me that it'd be awesome to have
WTF tell me when a PR was ready to be merged. So, here it is! An
icon will now display next to PRs in the "My Pull Requests" section
detailing whether GitHub thinks they can be merged.

This is behind a new, opt-in config flag called "enableStatus",
due to the fact that in order to function, this feature has to hit
the GitHub API individually for each PR in order to get an updated
status check - there's a comment in the code with a link that
explains why (otherwise, `pr.GetMergeableState()` returns an empty
string). For a large number of PRs, this can slow down refreshes a
bit and _might_ even wind up rate limiting you (while testing I had
some instances of GH refusing to return me any repository info,
though it didn't actually give me an error, usually after I had
been spamming it with requests for 30 PRs in a row for a bit). So,
for that reason, use at your own risk (but it's probably fine).

I am not an emoji expert, so suggestions on the display are welcome
if you can think of anything awesome. A lot of the ones I tried
seemed to render funny and mess up spacing.
2018-07-12 18:39:55 -07:00
Chris Cummer
857702e971 Add specs for wtf.ChecklistItem 2018-07-12 17:51:23 -07:00
Chris Cummer
5ebab79e2c Clean up the Todoist module code a bit - match names to things 2018-07-12 17:32:19 -07:00
Chris Cummer
4ad25edc0e First pass at creating a generic checklist component
The idea is that checklist-like modules would all share an underlying
checklist implementation (ie: Todo and Todoist) to avoid duplication.
2018-07-12 11:29:41 -07:00
Chris Cummer
236005ab48 Clean up all-contributors entry 0.0.11 2018-07-11 17:57:44 -07:00
Chris Cummer
d3f4812ad8 Add the Weather 'apiKey' config value to the documentation 2018-07-11 17:53:55 -07:00
Chris Cummer
35c2e088e0 WIP 2018-07-11 17:47:05 -07:00
Chris Cummer
4b8abfb28c Add interactive Jira documentation 2018-07-11 17:43:54 -07:00
Chris Cummer
8c52a7a288 Revert "gcal module improvements" 2018-07-11 17:38:53 -07:00
Chris Cummer
81799f9ba9 Update documentation for Todoist module 2018-07-11 17:38:53 -07:00
Chris Cummer
708699270d Refactor GCal calendar code to simplify things 2018-07-11 17:38:16 -07:00
Anand Sudhir Prayaga
279822f0a6 Add gerrit widget 2018-07-11 17:37:00 -07:00
Chris Cummer
599a2aa813 Add 'make size' to Makefile because vanity 2018-07-11 17:36:59 -07:00
Chris Cummer
b1cdfe2c7b Clean up the Todoist documentation a bit 2018-07-11 17:36:59 -07:00
Chris Cummer
995cd59176 Clean up the Todoist documentation a bit 2018-07-11 17:36:59 -07:00
Chris Cummer
37bb02571e Update documentation for Todoist module 2018-07-11 17:36:59 -07:00
Chris Cummer
81cc0e4450 Add documentation for Todoist module 2018-07-11 17:36:59 -07:00
Chris Cummer
195fa331cd Add @darkSasori as a contributor 2018-07-11 17:36:59 -07:00
Lineu Felipe
e288eef8dd add todoist widget 2018-07-11 17:36:51 -07:00
Bill Keenan
8ad0d34875 fixed bargraph test 2018-07-11 17:36:51 -07:00
Konstantin Vorobyev
2c07ccce46 gcal module improvements:
- Simplify Google OAuth client creation
- Read OAuth code via text dialog

Same approach can be re-used for gspreadsheets
2018-07-11 17:36:51 -07:00
Bill Keenan
f1c4644620 now will load weather api key from config if not in env 2018-07-11 17:36:51 -07:00
Chris Cummer
01d664c058
Merge pull request #241 from senorprogrammer/revert-234-google-oauth
Revert "gcal module improvements"
2018-07-11 20:34:02 -04:00
Chris Cummer
c1dc9523a6
Revert "gcal module improvements" 2018-07-11 17:33:49 -07:00
Chris Cummer
44c42ef046
Merge pull request #234 from kvj/google-oauth
gcal module improvements
2018-07-11 20:32:35 -04:00
Chris Cummer
25290cdc57 Camelcase the Weather API key config for consistency 2018-07-11 17:27:06 -07:00
Chris Cummer
ba97ac7999 Add 'make size' to Makefile because vanity 2018-07-11 17:21:33 -07:00
Chris Cummer
cc4a44e8f5 Clean up the Todoist documentation a bit 2018-07-11 17:21:33 -07:00
Chris Cummer
3d304e7256 Clean up the Todoist documentation a bit 2018-07-11 17:21:33 -07:00