Commit Graph

36 Commits

Author SHA1 Message Date
75914514ec
Problem: there is no insight into queries and searches
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: log searches
2022-04-16 20:49:29 +02:00
90074d28d6
Problem: licenses in files are not regular
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Paste license on top of all files. This does not change the
license. It was already licensed as GPLv3.
2021-11-20 22:26:39 +01:00
fd3a246f0d
Problem: http status codes use integer constants
Solution: replace http status codes with symbolic constants
2021-11-20 21:32:19 +01:00
164e809bf6
Problem: quoted string is used for regex
Solution: use raw string instead
2021-11-20 21:08:54 +01:00
3c5a620d4f
Problem: http.CloseNotifier is used
Solution: replace with r.Context().Done()
2021-11-20 21:07:47 +01:00
ca9be063cf
Problem: unused return
Solution: remove return
2021-11-20 21:07:20 +01:00
21f1048bba
Add logging of microsub errors
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 21:53:36 +01:00
9df63af33c
eksterd: make preview also available as a post request
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-20 21:09:38 +02:00
ec493be52d
Respond with error when searching 2021-06-05 20:02:46 +02:00
f14e6d8249
Add full text search to server
Some checks failed
continuous-integration/drone/push Build is failing
Adds Blevesearch to the server. Every item that is processed by the
server is added to the index and can be returned from the ItemSearch
request.
2021-05-30 22:01:34 +02:00
ac56638664
Use pq.Array
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 11:21:31 +02:00
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
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