294 Commits (295c9bbb4b9a6c5679574d9fe2c52f7a8bf640a6)
 

Author SHA1 Message Date
Kegan Dougal 295c9bbb4b Add 'api' package and move HTTP API requests there 9 years ago
Kegan Dougal 56e92a9632 Convert YAML to NEB types via roundabout methods 9 years ago
Kegan Dougal a7de9a7fdd Add YAML tags to things so we can unmarshal them. Cannot partially unmarshal json.RawMessage-like though... 9 years ago
Kegan Dougal bbf89c13bc Merge branch 'master' into kegan/config-yaml 9 years ago
Kegan Dougal 36562c6f2c Add YAML parser 9 years ago
Kegan Dougal f4033d1745 Add stub config file loader 9 years ago
Kegan Dougal 7beaf57ff7 Merge branch 'master' into kegan/config-yaml 9 years ago
Kegan Dougal e35ea2f27c Use the NextPollTimestampSecs or else we'll resend on /configureService due to JSON key name change 9 years ago
Kegsay 1cb7a3b565 Merge pull request #94 from matrix-org/kegan/rss-notify-on-failures 9 years ago
Kegan Dougal bc1e6283d8 Make some fields 'public' 9 years ago
Kegan Dougal fae997fdb7 Add a flag `IsFailing` to let clients know if their RSS feeds are down 9 years ago
Kegan Dougal 3c7cf89995 Add a sample config file 9 years ago
Kegan Dougal 299164d525 Fix RSS feeds which do not return GUIDs and do not have published dates 9 years ago
Kegsay 1f47c5a202 Merge pull request #92 from matrix-org/kegan/rss-user-agent 9 years ago
Kegan Dougal 5b5de2dc4b Set "Go-NEB" as the User-Agent on RSS feed polling 9 years ago
Kegan Dougal 5c8cc4a81c strconv to convert int to string 9 years ago
Kegan Dougal 433331ca20 Metrics: Add auth session counter 9 years ago
Kegsay 3f31f63b19 Merge pull request #91 from matrix-org/kegan/neb-metrics 9 years ago
Kegan Dougal f493a1933e s/sendMetric/incrementMetrics/ 9 years ago
Kegan Dougal 2e5c8e4d79 Only send the domain part of the RSS feed as that's more useful when doing aggregate metrics 9 years ago
Kegan Dougal b4b0a661c4 Add more metrics 9 years ago
Kegan Dougal cdb49fa60b Add command type as a label 9 years ago
Kegan Dougal 32e8a5b6cc Docs 9 years ago
Kegan Dougal 19eeb96610 Use enums instead 9 years ago
Kegan Dougal 219da01e08 Add extremely noddy counter metrics for !commands 10 years ago
Kegan Dougal 729b80c6bc Set max open conns to 1 on sqlite3 10 years ago
Kegsay e875b9c251 Merge pull request #87 from matrix-org/kegan/metrics 10 years ago
Kegan Dougal c9de6eaf06 Instrument all HTTP handlers 10 years ago
Kegan Dougal d169b5560f Add prometheus dep for metrics 10 years ago
Kegan Dougal 248822a3d6 Fix #86 - set a 20s min threshold before re-polling 10 years ago
Kegan Dougal ef6fc0d3bf Remove useless field 10 years ago
Kegsay 7bcffa4391 Merge pull request #85 from matrix-org/kegan/database-is-locked 10 years ago
Kegsay d9da3caac4 Merge pull request #84 from matrix-org/kegan/rss-guids 10 years ago
Kegan Dougal 95521a08f2 Edit README to put `_busy_timeout` to fix database is locked errors (#63) 10 years ago
Kegan Dougal 8316ac21ab Maintain a list of GUIDs per feed and use them to de-dupe 10 years ago
Kegan Dougal 77b729d4ba Remove spammy logs 10 years ago
Kegan Dougal 5f015e26ee Join rooms when registering rss service 10 years ago
Kegan Dougal b903860af9 Bump min to 5min to help not spam feeds with no cache control 10 years ago
Kegan Dougal 1640728857 Add lrucache 10 years ago
Kegsay 2f0a2c7f10 Merge pull request #83 from matrix-org/kegan/cache-rss-feeds 10 years ago
Kegan Dougal e088e11821 Swap to an LRU cache set to 20MB 10 years ago
Kegan Dougal e61356431a Merge branch 'master' into kegan/cache-rss-feeds 10 years ago
Kegan Dougal 7587dbc9c4 Add lrucache 10 years ago
Kegan Dougal b0eb284347 Add a caching HTTP client 10 years ago
Kegan Dougal 223ccac851 Add HTTP caching library 10 years ago
Kegsay f63e5ce7c1 Merge pull request #82 from matrix-org/kegan/per-service-poll 10 years ago
Kegan Dougal fd54eb1a55 Move OnPoll into the Service method set 10 years ago
Kegan Dougal 7518ed1995 Fix NPE if oldService is nil 10 years ago
Kegsay 5fe9743cba Merge pull request #81 from matrix-org/kegan/rssbot 10 years ago
Kegan Dougal cd39219113 s/feedreader/rssbot/g 10 years ago