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

43 Commits

Author SHA1 Message Date
Chris Cummer
66b69471d0 Properly scope Config to the wtf package and remove it as a dependency from everywhere else 2018-06-16 14:59:22 -07:00
Chris Cummer
4706eb5114 Add platform-specific compile directives for security modules 2018-06-14 16:38:47 -07:00
Mike Lloyd
a255b62d91 fixed bad type.
Signed-off-by: Mike Lloyd <mike@reboot3times.org>
2018-06-11 09:46:28 -06:00
Mike Lloyd
4a4ea2abe8 Merge branch 'master' of https://github.com/senorprogrammer/wtf 2018-06-11 09:38:33 -06:00
Hossein Mehrabi
f33b756d02 removed useless condition in Refresh 2018-06-08 10:59:47 +04:30
lucus
4e93b040bc Fix duplicated output produced by scutil 2018-06-04 20:58:44 +09:00
lucus
f9db4cc990 Fix issue #89
Better handle dns on macOS
2018-06-04 17:40:02 +09:00
Mike Lloyd
db29639301 Merge branch 'master' of https://github.com/senorprogrammer/wtf
fixed conflict.

Signed-off-by: Mike Lloyd <mike@reboot3times.org>
2018-06-03 23:20:12 -06:00
Mike Lloyd
db43c947b0 fixed platform-specific stuff.
Mostly fixed character encoding and stuff.

Signed-off-by: Mike Lloyd <mike@reboot3times.org>
2018-06-03 23:16:40 -06:00
Chris Cummer
218b6937b1 Implement ASCII-only widget titles
Widget titles can now be specified in the config file via a 'title' key.
Example:

  wtf:
    mods:
      todo:
        title: Tada

which can include emoji. No need to force everyone to look at my emoji,
now they can define their own.
2018-06-03 20:54:07 -07:00
Hossein Mehrabi
6443df092f use widget.View.SetText to print 2018-06-03 10:53:26 +04:30
James Sapara
306e2b0514 strip space and ignore empty users from who 2018-06-01 10:37:25 -07:00
Chris Cummer
bf4ab1056f Close #90. Firewall 'off' values are properly formatted 2018-05-31 18:01:11 -07:00
Chris Cummer
9a532a4660 Clean up the Linux security code a bit 2018-05-31 17:45:47 -07:00
James Sapara
9adc0ea98d golang platform is darwin not macos 2018-05-31 12:40:00 -07:00
James Sapara
2e126c3d23 removed q mistype 2018-05-31 12:30:52 -07:00
James Sapara
2109157edc linux/ubuntu wraps for security 2018-05-31 12:29:32 -07:00
Chris Cummer
38cf1d5632 Security module now displays logged-in users 2018-05-22 17:51:59 -07:00
Chris Cummer
a62b910893 Closes #43. Add CommandRunner module to the app.
CommandRunner allows you to define a terminal command and arguments, run
it on a schedule, and view the output.

Examples:

   ping -3 cisco.com
2018-05-17 17:15:03 -07:00
Chris Cummer
037c90db85 Widget#focus now a thing
Widgets can inform whether or not they should get tab focus.

Widgets that provide additional functionality should return true.

Widgets that have no extra capability should return false.

This allows the FocusTracker to only tab through and focus on widgets
for which it provides value.
2018-04-28 23:41:51 -07:00
Chris Cummer
3175b8d9cc Quick run through to add some documentation comments 2018-04-17 15:55:36 -07:00
Chris Cummer
693a04b5e1 Removed a bunch of common boilerplate code from widget initialization 2018-04-15 13:08:17 -07:00
Chris Cummer
84ecf296a5 RefreshedAt moved to the end of the refresh (because that makes more sense, doesn't it?) 2018-04-13 16:14:57 -07:00
Chris Cummer
31e17da358 Hack to fix a unicode rendering issue in iTerm 2018-04-12 18:18:54 -07:00
Chris Cummer
bd078f0a0e Improving the security data 2018-04-11 13:19:14 -07:00
Chris Cummer
cc4b5714f0 Add DNS to Security 2018-04-09 10:19:12 -07:00
Chris Cummer
aa658db210 Handle offline scenarios for OpsGenie 2018-04-09 09:48:45 -07:00
Chris Cummer
79bc8216d6 Don't display disabled widgets 2018-04-07 14:36:13 -07:00
Chris Cummer
ae13d52665 Enabled half-measure: widgets won't run if disabled (still need to not display) 2018-04-07 14:20:21 -07:00
Chris Cummer
b4bc6d4509 Remove a ton of duplication around TextView widget creation 2018-04-07 13:55:08 -07:00
Chris Cummer
fb637700b1 Displays Github review requests and PRs 2018-04-05 21:16:55 -07:00
Chris Cummer
71f8fc789f A ton of cleanup around how config is handled and go rountines are executed 2018-04-04 18:02:59 -07:00
Chris Cummer
c3f1d7ee36 Configuration used throughout the app 2018-04-04 15:38:29 -07:00
Chris Cummer
12e6b2a9f2 Mark the current calendar event if there is one 2018-04-03 14:51:21 -07:00
Chris Cummer
7555ae3b5c Border color on the widgets 2018-04-02 22:09:01 -07:00
Chris Cummer
0b8a063487 ExecuteCommand() moved into the utils dumping ground 2018-04-02 08:36:43 -07:00
Chris Cummer
278bf583c4 Remove the common refresher() code into BaseWidget 2018-04-02 04:38:55 -07:00
Chris Cummer
e1e8af5e38 Display current git repo and branch 2018-03-31 23:44:27 -07:00
Chris Cummer
f6e7a2c030 WIP Git widget 2018-03-31 20:04:09 -07:00
Chris Cummer
693a05cf43 More sensible timer units 2018-03-31 09:25:42 -07:00
Chris Cummer
a365c1df96 Display firewall status 2018-03-31 09:16:40 -07:00
Chris Cummer
42ce7f4353 Display current wifi network name 2018-03-31 08:17:57 -07:00
Chris Cummer
d82c7692be WIP Security info 2018-03-30 23:38:00 -07:00