Skip to content

Commit

Permalink
Merge pull request #7 from xilopaint/feat/general-improvements
Browse files Browse the repository at this point in the history
Add auto-update feature and improve code
  • Loading branch information
mrodalgaard authored Jan 20, 2019
2 parents 1d94e03 + 6a096fe commit 360b224
Show file tree
Hide file tree
Showing 14 changed files with 381 additions and 138 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
todo.md
temp
.DS_Store
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# <img src="https://raw.githubusercontent.com/mrodalgaard/alfred-network-workflow/master/icon.png" alt="network" width="32"> Alfred Network Workflow [![Build Status](https://travis-ci.org/mrodalgaard/alfred-network-workflow.svg?branch=master)](https://travis-ci.org/mrodalgaard/alfred-network-workflow)

Alfred workflow that can show and change your network settings; WiFi, Ethernet, VPN, DNS, etc.
Alfred workflow that can show and change your network settings: Wi-Fi, Ethernet, VPN, DNS, etc.

This is a collection of the functionality of already existing network-oriented workflows that I found half-baked or stalled. Improved on performance, usability and details.

Recommended to install via [Packal](http://www.packal.org/workflow/network) for auto update support.
This is a collection of the functionalities of already existing network-oriented workflows that I found half-baked or stalled. Improved on performance, usability and details.

## Usage

Expand All @@ -19,11 +17,11 @@ Recommended to install via [Packal](http://www.packal.org/workflow/network) for
<img src="https://raw.githubusercontent.com/mrodalgaard/alfred-network-workflow/master/screenshots/wifilist-preview.png" alt="alfred-wifi-workflow-wifilist" width="600">
</p>

Requires Alfred 2 and Power Pack for installing this extension. Might behave differently on Mac OSX versions older than 10.7 Lion. This workflow is primarily implemented in bash with a little help from AppleScript.
Requires Alfred 3 and Powerpack for installing this extension. Might behave differently on macOS versions older than 10.7 Lion. This workflow is primarily implemented in Bash with a little help from AppleScript.

## Tests

[bats](https://github.com/sstephenson/bats) is used for automatic testing of bash functionality. Install with `brew install bats` using [brew](http://brew.sh/).
[bats](https://github.com/sstephenson/bats) is used for automatic testing of Bash functionality. Install with `brew install bats` using [brew](http://brew.sh/).

Run tests: `bats tests`

Expand All @@ -32,16 +30,16 @@ Run tests: `bats tests`
- [x] Basic functionality
- [x] Unit tests
- [x] Mark saved networks with a star
- [x] Adjust wifi icon according to strength
- [x] Adjust Wi-Fi icon according to strength
- [x] Ethernet support
- [x] VPN list
- [x] Travis CI build
- [ ] Connect WiFi AP using Applescript
- [x] DNS switcher using `networksetup -setdnsservers`
- [ ] Connect WiFi AP using AppleScript
- [ ] Sort APs (improve!)
- [ ] Filter APs on-the-fly, but only scan once
- [ ] Use optional parameters for unit tests
- [ ] Bluetooth list
- [ ] DNS switcher using `networksetup -setdnsservers`

## Credits

Expand Down
Loading

0 comments on commit 360b224

Please sign in to comment.