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

206 Commits

Author SHA1 Message Date
Chris Cummer
5dbce09e4f Make Transmission widget scrollable 2019-06-26 06:58:27 -07:00
Chris Cummer
9244d60abe Add a rudimentary Transmission module (https://transmissionbt.com) 2019-06-26 06:58:27 -07:00
Chris Cummer
ae13a3394d WIP Transmission 2019-06-23 15:04:09 -07:00
Chris Cummer
70f9422a4e Deafult the HIBP ok colour to white 2019-06-22 16:13:32 -07:00
Chris Cummer
c75f00cb12 Enforce a minimum refresh interval for the HIBP module 2019-06-22 15:45:07 -07:00
Chris Cummer
8ce2242b52 Display the since date in the HIBP widget title 2019-06-22 15:31:37 -07:00
Chris Cummer
6216076b74 Add a working Have I Been Pwned module 2019-06-22 15:21:22 -07:00
Chris Cummer
d9c362ee9f Make the line wrap settings for the Textfile module configurable via the 'wrapText' setting 2019-06-14 21:27:09 -07:00
Sean DuBois
93d91c9313 Add new key 'customQueries' to github module
This key allows users to pass an arbitrary amount of queries
that contain custom filters. A simple query that shows all closed
PRs could be written like the following.

```
customQueries:
  closedPullRequests:
    title: "Closed Requests"
    perPage: 10
    filter:
      - "is:closed"
      - "is:pr"
```

Resolves #469
2019-06-06 16:30:16 -07:00
Chris Cummer
042f602ddb Tabbing to widgets properly sets the IsFocused property. Closes #467 2019-05-25 15:19:18 -07:00
Chris Cummer
90362dea4b
Merge branch 'master' into configdocs 2019-05-25 10:17:18 -07:00
Chris Cummer
55bc078c47
Merge branch 'master' into moreappcleanup 2019-05-25 10:11:13 -07:00
Sean Smith
02e0666697 Remove more app usages which are unnecessary 2019-05-24 22:22:56 -04:00
Sean Smith
c4d58ece81 Add a helper function to do highlighting in a uniform way 2019-05-24 22:06:47 -04:00
Chris Cummer
d2385b962f
Merge branch 'master' into configdocs 2019-05-24 18:14:34 -07:00
Chris Cummer
5b183af93e
Merge branch 'master' into weathermultisource 2019-05-24 17:39:56 -07:00
Chris Cummer
ba9ed05013
Merge branch 'master' into gitlabmultisource 2019-05-24 17:37:33 -07:00
Chris Cummer
b9fc08e098 Todoist only refreshes if it is not disabled and there is a current project 2019-05-24 14:27:29 -07:00
Chris Cummer
09ea4cd874 Todoist now properly updates list items when Refresh() is called 2019-05-24 14:26:03 -07:00
Sean Smith
d8f337884f Add more 'man page' like functionality 2019-05-24 00:06:10 -04:00
Sean Smith
a283dd8ed8 Migrate gitlab to multisource widget 2019-05-23 20:45:01 -04:00
Sean Smith
aeb76e9c57 Flip weather over to a multi-source widget 2019-05-23 20:41:14 -04:00
Sean Smith
d8bb0debd9 Remove unused import 2019-05-22 18:57:08 -04:00
Sean Smith
2fb1a06ca0 Add Scrollable to todoist widget
This is now a multi-source scrollable widget, trying to leverage as much of existing functionality as possible for
consistency
2019-05-22 00:22:17 -04:00
Kirill Motkov
f0771cd013 Some code improvements
* Some assignments simplified by using assignment operators
* Rewrite switch statement with only one case as if.
* Rewrite if-else chain as a switch statement.
* go fmt `modules/todoist/project.go` file.
2019-05-21 17:29:09 +03:00
Sean Smith
a2f5db7847 Harmonize keyboard controls
Make sure everyone has a refresh option
Have specific ordering:
 - Help
 - Refresh
 - Select next
 - Select prev
 - ...

Add unselect where applicable
2019-05-20 18:45:08 -04:00
Sean Smith
34bf319c2e Rename Prev/Next in MultiSourceWidget
This will open the possibility of a MultiSourceScrollableWidget with no collisions
2019-05-18 11:23:12 -04:00
Chris Cummer
18cc6c34ad WTF-455 Pass nil options for Gitlab project. Closes #455 2019-05-16 14:42:34 -07:00
Chris Cummer
accfa70ba5 Don't panic when there's no city data for Weather 2019-05-15 18:32:25 -07:00
Chris Cummer
3cc19dc27c Improve the look of Trello widget a bit 2019-05-15 10:43:13 -07:00
Chris Cummer
6879695e89 WTF-454 Fixes multi-list issue with Trello. Closes #454 2019-05-15 10:35:22 -07:00
Sean Smith
cb64f7df22 Handle historical config
Parse repositories both ways
Have github manually set sources, since historical config may not handle
2019-05-14 20:46:40 -04:00
Chris Cummer
85014a4ded
Merge branch 'master' into githubmultisource 2019-05-13 20:15:27 -07:00
Chris Cummer
5620db2046
Merge branch 'master' into todoistmulti 2019-05-13 16:50:10 -07:00
Sean Smith
6a41935e61 Flip todoist over to multiview widget
This can also probably be made scrollable in the future as well
2019-05-12 23:15:48 -04:00
Sean Smith
d410f548b8 Cleanup git widget
Next/Prev already implemented properly in multisourcewidget
2019-05-12 22:55:41 -04:00
Sean Smith
c35034d587 Make github a multisource widget
Note, that this is a backwards incompatible change

Previous config:

```
repositories:
  wtf: "wtfutil"
```

New Config:

```
repositories:
- "wtfutil/wtf"
```
2019-05-12 22:48:17 -04:00
Chris Cummer
2f2599b34f
Merge branch 'master' into pagerduty-schedule-specifications 2019-05-12 15:38:02 -07:00
Chris Cummer
a2e67fa498
Merge branch 'master' into autohelp 2019-05-12 10:48:29 -07:00
Chris Cummer
5f054c8ffd Allow PagerDuty to restrict on scheduleID 2019-05-12 09:52:48 -07:00
Sean Smith
cd35d1e0a3 Re-add command line help 2019-05-11 19:47:59 -04:00
Sean Smith
7f3daaac59 Have keyboard widget manage its own help
Define help with keys
This means that keys and help are automatically in sync
This means that you can't define keys, but forget help
This unfortunately also means that formatting may not be quite as good
2019-05-11 12:15:52 -04:00
Sean Smith
42821b3102 Clean up drawing functionality
Fix up a bunch of missed places that can use the standardized `Redraw` method
2019-05-11 12:11:26 -04:00
Chris Cummer
e9e62c2065 Merge branch 'master' of github.com:wtfutil/wtf 2019-05-11 08:59:58 -07:00
Sean Smith
03b1abd740 Remove datadog app reference 2019-05-11 11:54:52 -04:00
Chris Cummer
db746802c9 Improve the display of Twitter; less-harsh colours 2019-05-11 08:49:26 -07:00
Chris Cummer
8c4346f8b8
Merge branch 'master' into splituplogger 2019-05-11 08:43:37 -07:00
Chris Cummer
2067a73072 Fix a bug in scrollable.RowColor 2019-05-11 08:41:00 -07:00
Chris Cummer
78fc097818
Update widget.go 2019-05-10 23:27:48 -07:00
Chris Cummer
18ed770fe2
Merge branch 'master' into abstractscrollable 2019-05-10 23:26:14 -07:00