Commit graph

305 commits

Author SHA1 Message Date
Thomas Buckley-Houston 74fd11ab7b Correct link on text.brow.sh home page 2018-07-10 09:11:06 +08:00
Baptiste Fontaine 19d97a8fe7 README: Fix a typo 2018-07-09 20:41:23 +07:00
Thomas Buckley-Houston c457210c72 Refactor disallowed domains in HTTP service 2018-07-09 19:22:51 +08:00
Thomas Buckley-Houston 90078ff6c0 Add --fail and set -e when setting up Browsh
As per @zutto's suggestion in #62

This will at least notify us when something goes wrong during a Docker
build.
2018-07-09 19:21:25 +08:00
Thomas Buckley-Houston 29132f3695 Better attempt to fix Google phishing warnings 2018-07-09 13:51:58 +08:00
Thomas Buckley-Houston 384688302e Quick fix to stop Chrome detecting phishing
Apparently Google isn't happy about
https://html.brow.sh/mail.google.com URLs.
2018-07-09 13:06:50 +08:00
Thomas Buckley-Houston 4b9ff90933 Change Docker image name in README to browsh's 2018-07-08 17:51:34 +08:00
Thomas Buckley-Houston ba373e9815 Change 'texttop' refs to 'browsh' 2018-07-08 17:07:10 +08:00
Thomas Buckley-Houston 0c22a05054 Merge branch 'webext-rewrite'
Big moment
2018-07-08 16:46:49 +08:00
Thomas Buckley-Houston f6308f0f7b Version 1.2.0 2018-07-08 16:01:39 +08:00
Thomas Buckley-Houston 160a19ece8 Add arg for HTTP server bind address
Eg; `browsh -http-server-bind 127.0.0.1`

Fixes #57
2018-07-08 15:41:13 +08:00
Thomas Buckley-Houston 26fa4cb3de Use www.brow.sh's HTML service welcome page
It's nice to see the big Browsh logo rather just some boring plain text
2018-07-08 15:33:08 +08:00
Thomas Buckley-Houston 8d8168bfc6 First implementation of bg image for HTML service 2018-07-08 13:52:33 +08:00
Thomas Buckley-Houston 085419160e Add gif to README 2018-07-07 23:12:43 +08:00
Thomas Buckley-Houston 2ea4eb0f8c Better ENTER key UX
This came about from using Slack's web client.

Adding the input boxes padding to the DOM box coords makes the TTY
cursor more closely reflect the actual input box. Also using keyup/down
seems more universally applicable than merely kepress
2018-07-07 18:22:17 +08:00
Thomas Buckley-Houston 6fc594bdf9 Version v1.1.5 2018-07-06 14:55:01 +08:00
Thomas Buckley-Houston 8bd5f3df0a Post-release hook to update www.brow.sh version 2018-07-06 14:53:49 +08:00
Thomas Buckley-Houston 1a6fa690f5 Added donation link to HTML response pages 2018-07-06 13:43:53 +08:00
Thomas Buckley-Houston 7f8893fe14 Add logo to TTY startup. README updates 2018-07-06 13:17:28 +08:00
Thomas Buckley-Houston 752f34ddb3 Redirect HTTP to HTTPS 2018-06-27 17:10:48 +08:00
Thomas Buckley-Houston af1f47bc65 Version 1.1.4 2018-06-26 15:46:05 +08:00
Thomas Buckley-Houston 16f1917ed8 Basic application-level HTTP rate limiting
Here set to 10 requests per minute. Note that the current implementation
doesn't use a shared store across instances, so in effect clients can
request on average instances-count * 10 requests per minute.
2018-06-26 15:21:10 +08:00
Thomas Buckley-Houston c0c68842f0 Added gzip compression to HTTP server 2018-06-26 13:57:52 +08:00
Thomas Buckley-Houston 1bbe912994 Move start of raw text perf measurement 2018-06-26 13:42:07 +08:00
Thomas Buckley-Houston 642fd8348e Include original favicon in HTTP server responses 2018-06-26 13:28:27 +08:00
Thomas Buckley-Houston 2e1de9dab1 Add 10min public cache to HTTP server 2018-06-25 22:06:29 +08:00
Thomas Buckley-Houston c549f74bf5 The tagging saga continues :'( 2018-06-25 22:06:20 +08:00
Thomas Buckley-Houston 5ddba85a0d Don't put any HTML in plain raw pages 2018-06-23 19:42:51 +08:00
Thomas Buckley-Houston f89ecc6e5e Version 1.1.3 2018-06-23 19:28:55 +08:00
Thomas Buckley-Houston 4f637ccddc F1 key to open help tab
Closes #38
2018-06-23 19:27:55 +08:00
Thomas Buckley-Houston 3f6211c8a4 Added robots.txt to ignore everything but / 2018-06-23 19:27:55 +08:00
Thomas Buckley-Houston d4cb55f91e Force monospace for raw text HTML pages 2018-06-23 19:27:55 +08:00
Thomas Buckley-Houston 2350000cfb Add time stamp to HTML raw text 2018-06-23 19:27:55 +08:00
Thomas Buckley-Houston 9ce338f531 Add limit to HTTP service's page size
Fixes #50
2018-06-23 19:27:55 +08:00
Thomas Buckley-Houston 61626b522a Fix for errant </a> tags appearing on HTTP server 2018-06-23 19:27:15 +08:00
Thomas Buckley-Houston b2f1315c11 More rigourous definition of mode
This prevents interactive mode frames and logs being sent during raw
mode.
2018-06-23 19:27:15 +08:00
Thomas Buckley-Houston 70d3f45f60 Extra loggina and README updates 2018-06-23 19:27:15 +08:00
Thomas Buckley-Houston 802a61204d Add 1 extra delayed big frames render at page load
Without getting into the whole CSS transitions problem, this is a quick
solution to ensuring that text both loads as quickly as possible and
also loads aftera delay fo 500ms when hopefully all page load
transitions have completed.

Touches #39
2018-06-23 19:27:15 +08:00
Thomas Buckley-Houston f01b72daeb Remove brightness filter for em, strong, text
It has the opposite effect for text on dark backgrounds
2018-06-23 17:07:44 +08:00
Thomas Buckley-Houston 0bfd0c48ca Tag before reseting during release
Still the saga continues of the old master branch getting the tag
rather than the actual pushed commit.
2018-06-18 20:27:10 +08:00
Thomas Buckley-Houston e4933ac94c Version v1.1.2 2018-06-18 20:01:24 +08:00
Thomas Buckley-Houston ea53e6b467 Return help message for / request on HTTP service 2018-06-18 20:00:29 +08:00
Thomas Buckley-Houston cddd3ca173 Fix for HTTP server tabs not automatically closing 2018-06-18 19:38:24 +08:00
Thomas Buckley-Houston 4b18c55d5c Ensure webext-rewrite branch is used to push tags
...this is during a release
2018-06-18 19:16:56 +08:00
Thomas Buckley-Houston f0467b61c5 Don't log to STDOUT during HTTP server tests 2018-06-18 19:06:05 +08:00
Thomas Buckley-Houston b4e48ae248 Version bump to v1.1.1 2018-06-18 18:59:32 +08:00
Thomas Buckley-Houston ffbb182678 Log to STDOUT if running as HTTP service 2018-06-18 18:04:15 +08:00
Thomas Buckley-Houston c70083958f HTTP server: Use whole URI, including query 2018-06-17 21:40:16 +08:00
Thomas Buckley-Houston 3149db4bd3 Add anchor tags to HTTP Server output
This means you can now load the raw text in a browser and the resulting
page will have basic blue links that can be clicked on that will in turn
be loaded by the HTTP service.

A significant feature, so worthy of a minor version bump to;
v1.1.0
2018-06-17 21:26:44 +08:00
Thomas Buckley-Houston 1b42630b7f Text builder optimisations from @tobimensch 2018-06-15 11:15:01 +08:00