Commit Graph

102 Commits

Author SHA1 Message Date
6fe3e8fd8e
Improve messages for events
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 16:41:13 +01:00
2971f45d7d
Improve event handling
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 16:39:07 +01:00
15d7c69c30
Implement events handling and add documentation
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 16:21:38 +01:00
1e00d32aed
Split of StartConnection code from microsub server
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 15:15:55 +01:00
dc557efde9
Move signature validation for websub to own file 2019-03-24 13:37:30 +01:00
dbfe957f63
Remove request logging from microsub server
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 21:48:23 +01:00
3d4c4744fe
Add docs to timeline package
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 20:45:58 +01:00
a23b31cefe
Move timeline backend to own package
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 20:42:13 +01:00
5b5b344f82
Cleanup rootdir
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 20:31:13 +01:00
76819ac804
Remove global variable pool and replace fetcher with func
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 18:23:56 +01:00
d668ee6e42
Remove logging from fetch package
All checks were successful
continuous-integration/drone/push Build is passing
- Add some documentation
2019-03-20 11:11:17 +01:00
3fe76d1fce
Add missing test example file
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 22:30:22 +01:00
7ac5ad8ec2
Fix tests
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 22:28:49 +01:00
05f3fabe71
Improve tests
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 22:25:47 +01:00
70f5fb82f9
Improve source code
All checks were successful
the build was successful
2019-03-07 20:55:25 +01:00
3fe9d65cdf
Send a message immediately
All checks were successful
the build was successful
2019-02-20 10:50:43 +01:00
0d24e58c88
For events, write header and flush earlier
All checks were successful
the build was successful
2019-02-20 10:41:52 +01:00
83956b4d9f
Use server-sent-events implementation from thoughtbot
All checks were successful
the build was successful
New endpoint action "action=events" opens an SSE channel.

Implementation based on https://thoughtbot.com/blog/writing-a-server-sent-events-server-in-go
2019-02-18 21:37:19 +01:00
4ebe8f43fe
Fixes for Indigenous
All checks were successful
the build was successful
- Don't use "uid", but "channel"
- Don't update with name is empty string
2019-02-16 08:18:57 +01:00
2ecbf46cb8
Use parsed Form parameters
All checks were successful
the build was successful
2019-02-16 07:50:19 +01:00
5a2f6b1844
Reenable request logging
All checks were successful
the build was successful
2019-02-16 07:20:15 +01:00
a1b2ece601
Fix author simplifcation
All checks were successful
the build was successful
2019-02-08 23:39:43 +01:00
0147c599a8
Add intermediate parsing step
All checks were successful
the build was successful
2019-02-08 23:25:12 +01:00
255d56d167
Filter map[string]interface{} properties
All checks were successful
the build was successful
2019-02-08 23:17:33 +01:00
ddb154e4d3
Log when other type of author
All checks were successful
the build was successful
2019-02-08 23:11:01 +01:00
f3f5d30385
Cleanup and tests for unread counts
All checks were successful
the build was successful
2019-01-03 22:06:16 +01:00
fa0569b63f
Support unread bool/int field
All checks were successful
the build was successful
2019-01-03 21:34:36 +01:00
5afdd56bb1
Add author from h-feed to children
All checks were successful
the build was successful
2018-12-30 10:15:14 +01:00
877a87e21d
Add summary field
All checks were successful
the build was successful
2018-12-29 10:34:51 +01:00
4708c89c25
Add many error checks around authorization
All checks were successful
the build was successful
2018-12-27 19:28:51 +01:00
dd14b103e3
Add better error messages for parsing response body 2018-12-27 18:59:46 +01:00
a2f76c6071
Parse photos
All checks were successful
the build was successful
2018-12-18 20:15:19 +01:00
3483b481e3
Use "cite" as "entry"
All checks were successful
the build was successful
2018-12-18 19:45:33 +01:00
34133191fc
Cleanup (parse category better)
All checks were successful
the build was successful
2018-12-18 19:40:56 +01:00
0e85cae03d
Use Dockerfile.alpine
Some checks failed
the build failed
2018-12-16 21:59:26 +01:00
9e5601f979
Remove name when equal to content[text]
All checks were successful
the build was successful
2018-12-09 18:19:25 +01:00
47661b73f1
Add test for mark_read and unknown POST action 2018-12-09 17:50:29 +01:00
226a35fb43
Add bad request status code for wrong action 2018-12-09 17:46:47 +01:00
7d61179ee1
Add microsub server tests 2018-12-09 17:40:33 +01:00
a2db7069e7
Separate App from main
- extract env vars
- add command line arguments
- move null backend to server package
2018-12-09 17:39:36 +01:00
886a83e3e8
Extract json responses in respondJSON function
All checks were successful
the build was successful
2018-12-09 13:04:58 +01:00
db40a9fd1c
Remove Microsub access log request logging
All checks were successful
the build was successful
2018-12-08 17:05:56 +01:00
4fd3eb73ed
Cleanup of simplification MF2 to JF2
All checks were successful
the build was successful
2018-12-08 16:56:08 +01:00
17bee2852a
Error on unsupported StatusCode in GetEndpoints
All checks were successful
the build was successful
2018-12-07 21:52:19 +01:00
5c4144444a
Add items to items 2018-12-07 21:51:44 +01:00
07a3c1b1e3
Add status checks to get requests of ek 2018-12-07 21:23:01 +01:00
3c9f7eae47
You shouldn't be authorized always
Signed-off-by: Peter Stuifzand <peter@stuifzand.eu>
2018-09-15 16:00:57 +02:00
b3fe5c17ed
Merge branch 'missing-files' into new-microsub-package
All checks were successful
the build was successful
2018-09-15 15:57:05 +02:00
ec8da2692c
Add missing files 2018-09-15 15:55:27 +02:00
8a69473baf
Move Microsub handler to it's own package
All checks were successful
the build was successful
2018-09-15 10:23:11 +02:00