aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-27 00:02:17 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-27 00:02:17 +0200
commitc2b5808ca6ba592507bf49512f8c90883f74ece0 (patch)
treed1726aade2e189a6207ea7f8496023ac40b0cdf2 /pkg
parenta3d2087107312c1816adbc3d25882d36eb5b7d9d (diff)
downloadfeed2imap-go-c2b5808ca6ba592507bf49512f8c90883f74ece0.tar.gz
feed2imap-go-c2b5808ca6ba592507bf49512f8c90883f74ece0.tar.bz2
feed2imap-go-c2b5808ca6ba592507bf49512f8c90883f74ece0.zip
Add tls-no-verify option to disallow certificate checks.
Closes #3
Diffstat (limited to '')
-rw-r--r--pkg/config/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index 37dffcf..885b80e 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -40,6 +40,7 @@ type Options struct {
Disable *bool `yaml:"disable"`
IgnHash *bool `yaml:"ignore-hash"`
AlwaysNew *bool `yaml:"always-new"`
+ NoTLS *bool `yaml:"tls-no-verify"`
}
func (opt *Options) mergeFrom(other Options) {
@@ -58,6 +59,9 @@ func (opt *Options) mergeFrom(other Options) {
if opt.Disable == nil {
opt.Disable = other.Disable
}
+ if opt.NoTLS == nil {
+ opt.NoTLS = other.NoTLS
+ }
}
// Default feed options
@@ -72,6 +76,7 @@ func init() {
IgnHash: &fal,
AlwaysNew: &fal,
Disable: &fal,
+ NoTLS: &fal,
}
}
o1-1/+1 2007-08-12added listener/notifynecoro2-2/+1 2007-08-12added listener/notifynecoro22-531/+704 2007-08-10add splash screennecoro12-158/+355 2007-08-07new threading model in gui_helpernecoro9-159/+237 2007-08-06small fixesnecoro3-4/+6 2007-08-05some translation fixes :)necoro2-0/+3 2007-08-05some translation fixes :)necoro1-1/+1 2007-08-05some translation fixes :)necoro7-358/+357 2007-08-05pocompile testnecoro1-2/+2 2007-08-05pocompile testnecoro1-2/+3 2007-08-05pocompile testnecoro1-1/+6 2007-08-05i18n support and german translationsnecoro3-3/+11 2007-08-05i18n support and german translationsnecoro19-87/+1391 2007-08-04added an uncaught exception dialognecoro2-2/+1 2007-08-04added an uncaught exception dialognecoro4-3/+93 2007-08-04bugfixesnecoro3-5/+20 2007-08-01Removed "(GTK)" from desktop filenecoro1-1/+1 2007-07-30updatesnecoro1-1/+1 2007-07-30updatesnecoro2-21/+64 2007-07-28some more pause emerge itemsnecoro5-276/+423 2007-07-27changed design / added linknecoro3-66/+154 2007-07-26changed design / added linknecoro2-34/+27 2007-07-25changed design / added linknecoro5-86/+188 2007-07-24made the resume_loop-plugin change titles toonecoro5-7/+22 2007-07-21added logviewersnecoro7-215/+429 2007-07-21updated howtonecoro1-14/+24 2007-07-20new Plugin Schemenecoro1-5/+4 2007-07-20new Plugin Schemenecoro1-1/+1 2007-07-20new Plugin Schemenecoro9-162/+214 2007-07-13fixesnecoro4-27/+37 2007-07-13new fancier log outputnecoro14-127/+116 2007-07-11added SIGSTOP/SIGCONT support; SIGTERM now works ;)necoro8-208/+275 2007-07-09bug in shutdown pluginnecoro2-5/+12 2007-07-09added resume_loop pluginnecoro1-1/+1 2007-07-09added resume_loop pluginnecoro10-22/+162 2007-07-07some more documentationnecoro6-4/+108 2007-07-07Some documentation worknecoro7-18/+129