Commit graph

18 commits

Author SHA1 Message Date
Thomas Buckley-Houston 5829c71a3e Centralise all the Browsh build steps 2018-07-26 18:59:59 +08:00
Thomas Buckley-Houston f05a21a339 Exclude windows files when running unit tests 2018-07-16 23:08:24 +08:00
Thomas Buckley-Houston 3cac9eb9a0 Remove webext from prettier check path 2018-07-11 17:46:16 +08:00
Thomas Buckley-Houston 1c605e2c0d Prepend prettier with node_modules/.bin path 2018-07-11 17:42:16 +08:00
Thomas Buckley-Houston a9e183f537 Move linters to end of block 2018-07-11 17:39:18 +08:00
Thomas Buckley-Houston d66d3e26a0 JS prettier formatting 2018-07-11 17:28:56 +08:00
Thomas Buckley-Houston 2fc0b5cde3 Formatted all Go code
Closes #97
2018-07-11 17:00:06 +08:00
Thomas Buckley-Houston 05c2d9f4f3 Version 1.0.2
Update Firefox version dependency to 60.0
2018-06-10 22:30:44 +08:00
Thomas Buckley-Houston 14796c0d93 Updates for Goreleaser
Update Golang to 0.10

Use `curl -sL http://git.io/goreleaser | bash` instead of `go get`
2018-06-10 20:33:41 +08:00
Thomas Buckley-Houston 7d3620e12d HTTP Service: don't delete tab if last remaining
Previously we were using the tab's ID to decide if it was the root tab
(that if deleted would close the browser). However our ol' "friend" the
Firefox Privacy tab can sometimes take the TAB ID=1 hotspot, so now we
just have to call out to the browser to ask it how many tabs are
currently loaded, this is more reliable.
2018-06-05 18:50:10 +08:00
Thomas Buckley-Houston 0fc39a51e6 HTTP Server service: fetches URL, returns raw text
Using the `-http-server` argument will now start Browsh in HTTP Server
mode. It will accept request like this:

  `curl brow.sh/http://news.ycombinator.com`

This will return a plain text version of the Hacker News front page,
with a width of 100 characters, with each line separated by a line
break.
2018-05-27 20:45:43 +08:00
Thomas Buckley-Houston ae44a18cfc Moved URL bar input and mono mode toggle to CLI
Finally fixes integration tests
2018-04-28 19:02:40 +08:00
Thomas Buckley-Houston c0a79caf4e Refactor Browsh Go code into package
This helps with isolating the tests and refactoring the code into
separate files.
2018-04-01 16:31:25 +08:00
Thomas Buckley-Houston 8cf3de33c3 Move integration tests to Golang CLI client
After moving to Tcell and implementing its screen diff updates, we can
no longer watch STDOUT to get frames during integration tests. Instead
we need to use Tcell's SimulationScreen and which has a GetContents()
method. This is actually also a much more robust way of being able to
see what Browsh actually outputs during testing.
2018-02-17 14:10:39 +08:00
Thomas Buckley-Houston 0b3ff030cd Release v0.2.3 2018-01-30 17:50:55 +08:00
Thomas Buckley-Houston 2985774859 Automate releases 2018-01-28 16:08:19 +08:00
Thomas Buckley-Houston 9a82182a9a Don't use --new-instance, -P when launching FF 2018-01-24 10:59:57 +08:00
Thomas Buckley-Houston 318f5c3c34 First draft of integration tests 2018-01-23 20:04:23 +08:00