Commit Graph

263 Commits

Author SHA1 Message Date
076a0faea3 Create start of settings page 2018-07-11 11:00:06 +02:00
cad14ac461 Fix command for getting list of feeds for WebSub 2018-07-11 10:56:32 +02:00
f927362c0b Improve input fields 2018-07-09 22:24:23 +02:00
3f00d820dd Get the right template file 2018-07-09 22:21:25 +02:00
4131f77e9f Add better template 2018-07-09 22:18:09 +02:00
369849a493 Remove templates directory 2018-07-09 22:12:04 +02:00
462ee38b96 Add error checking for template loading and writing 2018-07-09 22:09:45 +02:00
59fcb1fc47 Use env templates 2018-07-09 22:09:11 +02:00
bcdb16bc6e Change go get file 2018-07-09 22:03:55 +02:00
bae6ae44ef Get more commands and files 2018-07-09 22:01:22 +02:00
fe88320675 Add templates 2018-07-09 21:59:26 +02:00
8ef9e31446 Improve logging and error handling 2018-07-09 19:12:47 +02:00
a8918e59d0 Try to create better request 2018-07-09 19:01:03 +02:00
24a71a6b43 Add content-type header 2018-07-09 18:51:08 +02:00
5aa2c012cd Add Accept header to request 2018-07-09 18:48:09 +02:00
4df4371256 Print json response body 2018-07-09 18:44:28 +02:00
05d7c498c3 Add logout 2018-07-09 18:37:21 +02:00
93faba100e Save logged in info and show on the homepage 2018-07-09 18:33:04 +02:00
5b30d00838 Check if cookie exists 2018-07-08 14:50:09 +02:00
7b2a591902 Add logging in with Indieauth (alpha) 2018-07-08 14:47:30 +02:00
379be5436d Save unread count 2018-07-08 11:02:10 +02:00
ae0d3d5388 improve logging and error handling 2018-07-08 11:01:56 +02:00
1afb20dd1c ParseForm 2018-07-08 00:15:26 +02:00
e2d7962730 Start running the hubbackend 2018-07-08 00:11:10 +02:00
a39e4b850b Add some logging to indieauth endpoint 2018-07-08 00:09:37 +02:00
1b5c029c7b Start of indieauth for backend 2018-07-08 00:06:03 +02:00
8083f50f6a Cleanup of info on cli 2018-07-07 23:49:09 +02:00
e782709911 Only show url in follow UID command 2018-07-07 23:10:39 +02:00
2c6f421e3e Set resubscribe_at as unix time 2018-07-07 20:51:02 +02:00
b291019093 Use microformats module to parse <link> elements 2018-07-07 20:37:49 +02:00
55b279f363 Check for error before printing message 2018-07-07 20:27:00 +02:00
97a98bbfed Cleanup subscribing and feeds
Add ID and URLs to feed, so we can easily resubscribe later
2018-07-07 20:14:46 +02:00
e8796eae5a Extract hubbackend.go 2018-07-07 17:59:41 +02:00
471ff2c564 Remember lease_seconds when set 2018-07-07 17:56:28 +02:00
c6902909b1 Extract isHubSignatureValid function 2018-07-07 17:38:39 +02:00
b8ec0f3700 Remember callbackURL to make it easier to resubscribe 2018-07-07 17:30:51 +02:00
c9ca63b7fa Just return error instead of log.Fatal in Feedbin TimelineGet 2018-07-07 17:20:11 +02:00
dfd9b51cc5 Improve count updating when marking as read 2018-07-07 17:14:54 +02:00
f1483f4171 Improve updating the count of items in a channel 2018-07-07 16:59:22 +02:00
6677bd95ab Use errors in protocol
- Rewrite all api's and clients to use the new calls which allows errors
in the responses
2018-07-07 16:40:04 +02:00
bf645f33ef Move microsub to pkg/microsub 2018-07-07 16:03:49 +02:00
6d3eaa020d Cleanup logging of redis item 2018-07-07 14:32:36 +02:00
66321c44a5 Check if item.Content != nil, because it doesn't have to be set 2018-07-05 22:56:31 +02:00
c613e18c7a Fix syntax error 2018-07-05 22:53:29 +02:00
7ed1d17373 Improve logging and handling of items 2018-07-05 22:52:19 +02:00
1a95c882ad Add Published time when it is not set 2018-07-05 22:03:46 +02:00
48080bca77 Try to implement h-feed 2018-07-05 21:57:25 +02:00
2e83a023f5 Import strings package 2018-07-03 23:01:39 +02:00
9625549a5f Indiepaper uses Authorization header for source_id
- Check author for source_id / auth token
2018-07-03 22:59:07 +02:00
b34604607d Also log Headers on micropub 2018-07-03 22:55:01 +02:00