annotate backend/AbstractPreferences.py @ 258:4ca1fac32dde

Pull the constant of days to keep feed entries into the abstract class
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 12 Mar 2019 02:39:18 +0100
parents f79be01821c4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
256
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 class AbstractPreferences(object):
258
4ca1fac32dde Pull the constant of days to keep feed entries into the abstract class
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 256
diff changeset
4 DAYS_TO_KEEP_FEED_ENTRIES = "daysToKeepFeedEntries"
256
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 HIDE_READ_FEED_ENTRIES = "hideReadFeedEntries"
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 PROXY_HOST = "proxyHost"
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 SHOW_ONLY_UNREAD_FEEDS = "showOnlyUnreadFeeds"
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 START_MAXIMIZED = "startMaximized"
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 USE_PROXY = "useProxy"
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 def isProxyConfigured(self):
f79be01821c4 Arangodb backend, first version which barely works for reading
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 return self.proxyHost() is not None