Commit Graph

19 Commits

Author SHA1 Message Date
2b7b63ba83
Add Last-Event-ID to allowed CORS headers
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-18 11:04:12 +02: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
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
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
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
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
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
7e15298175
Move server to package 2018-09-12 22:35:49 +02:00