Commit Graph

248 Commits

Author SHA1 Message Date
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
854e5f5e25 Add logging to micropub endpoint 2018-07-03 22:51:31 +02:00
b8c00a22d6 Also support "normal" MF2 requests for micropub 2018-07-03 22:45:13 +02:00
209e7510c1 Create channel information when creating channel 2018-07-03 22:44:53 +02:00
71a9040eba
cli: Only show channels id when a channel is created 2018-06-30 15:57:47 +02:00
7d7d55099e Remove channel from Redis when channels is deleted 2018-06-30 15:52:20 +02:00
9e4c93a389 Only show channels if it exists in the channels list 2018-06-30 15:50:04 +02:00
b7b706368a Don't allow unread count to go below zero 2018-06-30 15:48:05 +02:00
59a784f326 Simplify code for deleting a channel 2018-06-30 15:45:35 +02:00
c1fe5075a5 Add ek to container 2018-06-30 10:39:14 +02:00
af7d289656
Simplify first time "backend.json" that's generated from new 2018-06-27 21:56:40 +02:00
899588d73e Clean up presentation of items in command line client 2018-06-27 21:38:52 +02:00
545fd6ca03 Parse HTTP Link headers for endpoints 2018-06-27 21:25:28 +02:00
59d60fcfab Use a random state 2018-06-27 21:16:40 +02:00
fab53a1b4d Add message on screen to close the window 2018-06-27 21:13:15 +02:00
9e7448c53b Extract clientID to command line client 2018-06-27 21:05:25 +02:00