Commit Graph

302 Commits

Author SHA1 Message Date
55ef797f68 Try to not escape HTML in timeline response 2018-07-28 13:42:32 +02:00
67fd816e3f Fix memory leak
Close resp.Body in the main Fetch function. When the resp.Body is not
closed, it will keep all HTTP responses in memory and that amount will
grow, quite fast.
2018-07-28 10:07:07 +02:00
e79b883faa Remove unused caching structs 2018-07-26 19:50:08 +02:00
0d3e2638c1 Add profiler for microsub server 2018-07-26 19:49:55 +02:00
e4a26e7c96 Don't fully reset session with using /auth 2018-07-25 14:58:42 +02:00
14a1edee57 Log the session after verification 2018-07-25 14:55:36 +02:00
4078559a89 Create a session when starting at auth 2018-07-25 14:52:13 +02:00
d9bdf78fd2 Remember NextURI when logging in 2018-07-25 14:27:23 +02:00
1cea51d5d5 Use logo property for Icon 2018-07-25 13:54:55 +02:00
0429821c08 Check error getAppInfo 2018-07-25 13:52:13 +02:00
dae386ef87 Remove some logging and useless comment 2018-07-25 13:51:59 +02:00
06a8df3bb8 Check if grant_type is used in token_endpoint 2018-07-25 13:51:00 +02:00
de9e27cac4 Show app info when logging in 2018-07-25 13:50:25 +02:00
09d2a72b33 Use channel adder with matchers 2018-07-16 22:38:21 +02:00
aa22931786 Fix actual include code 2018-07-16 22:34:25 +02:00
f2d9d450d0 Remember include_regex 2018-07-16 22:26:04 +02:00
023209c5d5 Add matching of includeRegex 2018-07-16 22:24:50 +02:00
09e5a81227 Add testing of ExcludeRegex 2018-07-16 22:16:12 +02:00
acf0721ba5 Add some settings 2018-07-16 22:05:28 +02:00
633cfabbfd Remove unused init() function 2018-07-16 21:36:11 +02:00
f3da9da58d Clean up url generation and callback 2018-07-16 21:05:52 +02:00
e596a116bb Add Dockerfile.ek 2018-07-15 08:28:36 +02:00
c3d8fb2802 Add type to item 2018-07-15 00:21:30 +02:00
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