⬆️ Status 21 is invalid now

This commit is contained in:
makeworld 2020-06-21 23:39:33 -04:00
parent c2c74cbe28
commit 7ab1a2bda9
5 changed files with 12 additions and 9 deletions

View File

@ -21,12 +21,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Hash `SubjectPublicKeyInfo` for TOFU instead (#7)
- `wrap_width` config option became `max_width`
### Removed
- Opening multiple URLs from the command line (threading issues)
### Fixed
- Reset bottom bar on error / invalid URL
- Side scrolling doesn't cut off text on the left side (#1)
- Mark status code 21 as invalid
### Removed
- Opening multiple URLs from the command line (threading issues)
## [1.0.0] - 2020-06-18
Initial release.

View File

@ -53,18 +53,18 @@ Features in *italics* are in the master branch, but not in the latest release.
- [ ] Bookmarks
- [ ] Search in pages with <kbd>Ctrl-F</kbd>
- [ ] Download pages and arbitrary data
- [ ] Full mouse support
- [ ] Emoji favicons
- See `gemini://mozz.us/files/rfc_gemini_favicon.gmi` for details
- [ ] Full mouse support
- [ ] Table of contents for pages
- [ ] ~~Collapsing of gemini site sections (as determined by headers)~~
- [ ] Full client certificate UX within the client
- *I will be waiting for some spec changes to happen before implementing this*
- *I will be waiting for some spec changes/recommendations to happen before implementing this*
- Create transient and permanent certs within the client, per domain
- Manage and browse them
- https://lists.orbitalfox.eu/archives/gemini/2020/001400.html
- [ ] Subscribe to RSS and Atom feeds and display them
- [ ] Support Markdown rendering
- [ ] History browser
## Configuration
The config file is written in the intuitive [TOML](https://github.com/toml-lang/toml) file format. See [default-config.toml](./default-config.toml) for details. By default this file is available at `~/.config/amfora/config.toml`.

View File

@ -297,6 +297,7 @@ func NewTab() {
SetScrollable(true).
SetWrap(false).
SetText(addLeftMargin(renderedNewTabContent)).
ScrollToBeginning().
SetChangedFunc(func() {
App.Draw()
}).
@ -344,7 +345,7 @@ func NewTab() {
bottomBar.SetLabel("")
bottomBar.SetText("")
// Force a draw, just in case
// Draw just in case
App.Draw()
}

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.14
require (
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/gdamore/tcell v1.3.1-0.20200608133353-cb1e5d6fa606
github.com/makeworld-the-better-one/go-gemini v0.5.1
github.com/makeworld-the-better-one/go-gemini v0.5.2
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.3.1 // indirect
github.com/pelletier/go-toml v1.8.0 // indirect

4
go.sum
View File

@ -124,8 +124,8 @@ github.com/lucasb-eyer/go-colorful v1.0.3 h1:QIbQXiugsb+q10B+MI+7DI1oQLdmnep86tW
github.com/lucasb-eyer/go-colorful v1.0.3/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/makeworld-the-better-one/go-gemini v0.5.1 h1:lE0hoU4l7Uje+c9cmdqv9AFi1QNKERmfKZaOLBpzRsg=
github.com/makeworld-the-better-one/go-gemini v0.5.1/go.mod h1:P7/FbZ+IEIbA/d+A0Y3w2GNgD8SA2AcNv7aDGJbaWG4=
github.com/makeworld-the-better-one/go-gemini v0.5.2 h1:jdVNniCBZm/oGXRg+xitCy9dTJXKSG/VoxfeEprvZ8U=
github.com/makeworld-the-better-one/go-gemini v0.5.2/go.mod h1:P7/FbZ+IEIbA/d+A0Y3w2GNgD8SA2AcNv7aDGJbaWG4=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=