Commit Graph

279 Commits

Author SHA1 Message Date
3d03a17f42 Set ok = true in formencoded item 2018-07-15 00:16:57 +02:00
6426b31c0b Add application/x-www-form-urlencoded to micropub endpoint 2018-07-15 00:12:05 +02:00
9a6ecac4d8 Get channel name from "token" 2018-07-15 00:07:44 +02:00
f76979298d Adding missing return 2018-07-15 00:04:19 +02:00
6517a38fc1 Add content-type header to token response 2018-07-15 00:02:33 +02:00
95ee593dd8 Implement Indieauth for channels 2018-07-15 00:01:00 +02:00
89201c0178 Start of logging in with Indieauth on Micropub 2018-07-14 17:29:06 +02:00
e491a61dae Use internal API to get channel/feed info 2018-07-14 15:11:57 +02:00
7156920798 Improve settings page, add logs page 2018-07-14 15:04:24 +02:00
330d4d70e5 Check if the user is logged in 2018-07-14 14:48:57 +02:00
4000e2b441 Add information about channels 2018-07-14 14:46:36 +02:00
a69c6c2fde Move mainHandler to own files 2018-07-12 21:20:54 +02:00
d8da433a6d Make ClientID a constant 2018-07-12 21:09:37 +02:00
bc180ca8b3 Better checking for EKSTER_TEMPLATES 2018-07-12 21:04:26 +02:00
4c59931283 Extract session code 2018-07-12 21:00:47 +02:00
0f9752452d Extract template loading 2018-07-12 20:51:47 +02:00
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