Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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