mirror of
https://github.com/makew0rld/amfora.git
synced 2024-06-13 19:10:42 +00:00
Compare commits
3 Commits
3668991663
...
da797aca40
Author | SHA1 | Date | |
---|---|---|---|
|
da797aca40 | ||
|
1a0d2b6d5a | ||
|
6a92dd336b |
|
@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Paging up or down scrolls by 50% instead of 75%, to match `less` (#303)
|
||||
- Update deps, require Go 1.17 (#336)
|
||||
- Show local directory index file if available (#319)
|
||||
- Updated Project Gemini URLs (#342)
|
||||
|
||||
### Fixed
|
||||
- Modal can't be closed when opening non-gemini text URLs from the commandline (#283, #284)
|
||||
|
|
|
@ -29,3 +29,4 @@ Thank you to the following contributors, who have helped make Amfora great. FOSS
|
|||
* Maxime Bouillot (@Arkaeriit)
|
||||
* Emily (@emily-is-my-username)
|
||||
* Autumn! (@autumnull)
|
||||
* William Rehwinkel (@FiskFan1999)
|
||||
|
|
|
@ -24,9 +24,9 @@ var normalizeURLTests = []struct {
|
|||
{"https://example.com", "https://example.com"},
|
||||
// Fixing URL tests
|
||||
// Some commented out due to #324
|
||||
//{"gemini://gemini.circumlunar.space/%64%6f%63%73/%66%61%71%2e%67%6d%69", "gemini://gemini.circumlunar.space/docs/faq.gmi"},
|
||||
//{"gemini://geminiprotocol.net/%64%6f%63%73/%66%61%71%2e%67%6d%69", "gemini://geminiprotocol.net/docs/faq.gmi"},
|
||||
{"gemini://example.com/蛸", "gemini://example.com/%E8%9B%B8"},
|
||||
//{"gemini://gemini.circumlunar.space/%64%6f%63%73/;;.'%66%61%71蛸%2e%67%6d%69", "gemini://gemini.circumlunar.space/docs/%3B%3B.%27faq%E8%9B%B8.gmi"},
|
||||
//{"gemini://geminiprotocol.net/%64%6f%63%73/;;.'%66%61%71蛸%2e%67%6d%69", "gemini://geminiprotocol.net/docs/%3B%3B.%27faq%E8%9B%B8.gmi"},
|
||||
{"gemini://example.com/?%2Ch%64ello蛸", "gemini://example.com/?%2Chdello%E8%9B%B8"},
|
||||
// IPv6 tests, see #195
|
||||
{"gemini://[::1]", "gemini://[::1]/"},
|
||||
|
|
|
@ -190,7 +190,7 @@ func Init() error {
|
|||
|
||||
// Setup main config
|
||||
|
||||
viper.SetDefault("a-general.home", "gemini://gemini.circumlunar.space")
|
||||
viper.SetDefault("a-general.home", "gemini://geminiprotocol.net")
|
||||
viper.SetDefault("a-general.auto_redirect", false)
|
||||
viper.SetDefault("a-general.http", "default")
|
||||
viper.SetDefault("a-general.search", "gemini://geminispace.info/search")
|
||||
|
|
|
@ -25,7 +25,7 @@ var defaultConf = []byte(`# This is the default config file.
|
|||
|
||||
[a-general]
|
||||
# Press Ctrl-H to access it
|
||||
home = "gemini://gemini.circumlunar.space"
|
||||
home = "gemini://geminiprotocol.net"
|
||||
|
||||
# Follow up to 5 Gemini redirects without prompting.
|
||||
# A prompt is always shown after the 5th redirect and for redirects to protocols other than Gemini.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
[a-general]
|
||||
# Press Ctrl-H to access it
|
||||
home = "gemini://gemini.circumlunar.space"
|
||||
home = "gemini://geminiprotocol.net"
|
||||
|
||||
# Follow up to 5 Gemini redirects without prompting.
|
||||
# A prompt is always shown after the 5th redirect and for redirects to protocols other than Gemini.
|
||||
|
|
|
@ -29,7 +29,7 @@ Happy browsing!
|
|||
=> https://github.com/makeworld-the-better-one/amfora/wiki Amfora Wiki [GitHub]
|
||||
=> gemini://makeworld.space/amfora-wiki/ Amfora Wiki [On Gemini!]
|
||||
|
||||
=> gemini://gemini.circumlunar.space Project Gemini
|
||||
=> gemini://geminiprotocol.net Project Gemini
|
||||
`
|
||||
|
||||
// Read the new tab content from a file if it exists or fallback to a default page.
|
||||
|
|
Loading…
Reference in New Issue
Block a user