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

8 Commits

Author SHA1 Message Date
Sean Smith
5f57edb212 Even more help settings
Blitz through g
Clean up a setting that no longer exists for gcal
2019-07-04 11:40:53 -04: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
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
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
Sean Smith
14abd422b2 Add default titles, to mimic original behavior
Have the modules set their own titles
If no title is specified, use this title, rather than default to name
2019-04-30 23:38:37 -04:00
Sean Smith
5abd701b40 Decouple modules from global config
Rather than referencing wtc.Config, instead pass the global config
Also, look up config for the module early and pass that in sooner, to deal with fewer long paths and get rid of the
ConfigKey variable
2019-04-27 22:26:23 -04:00
Chris Cummer
b50c762dab WTF-400 Move name and configKey values from widget to settings 2019-04-17 17:16:26 -07:00
Chris Cummer
6c22ad6d27 WTF-400 GitHub extracted to new config format 2019-04-15 10:05:57 -07:00