1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-13 19:10:42 +00:00

Compare commits

..

3 Commits

Author SHA1 Message Date
mntn
da797aca40
Merge 1a5ea27080 into 1a0d2b6d5a 2023-11-11 04:38:07 -07:00
makeworld
1a0d2b6d5a
update doc 2023-11-03 11:36:46 -04:00
Marc Ransome
6a92dd336b
Update URLs for official Project Gemini capsule (#342)
* Update URLs for official Project Gemini capsule

* Update disabled tests
2023-11-03 11:34:18 -04:00
7 changed files with 8 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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]/"},

View File

@ -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")

View File

@ -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.

View File

@ -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.

View File

@ -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.