|
83956b4d9f
|
Use server-sent-events implementation from thoughtbot
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 |
|
|
e545f796ee
|
Improve notifications
|
2019-02-16 07:41:03 +01:00 |
|
|
e2361daa0e
|
Remove extraneous mutex locks
|
2019-02-16 07:40:26 +01:00 |
|
|
f3f5d30385
|
Cleanup and tests for unread counts
|
2019-01-03 22:06:16 +01:00 |
|
|
fa0569b63f
|
Support unread bool/int field
|
2019-01-03 21:34:36 +01:00 |
|
|
1453faa2f9
|
Clean up some error texts
|
2018-12-29 20:29:56 +01:00 |
|
|
1e4847cf35
|
Add error messages to nofications through stream channel backend
|
2018-12-25 14:53:17 +01:00 |
|
|
22cbf01566
|
Add MarkRead function
- Remove conn parameters
- Move MarkRead function
- Make uids an array parameter
|
2018-12-25 13:54:41 +01:00 |
|
|
723b5b24d5
|
Cleanup of interface
- Rename GetItems -> Items
- Add Count method
- Move add item method to timeline.go
- Make getTimeline method of memorybackend
|
2018-12-25 13:47:20 +01:00 |
|
|
67c8b03467
|
Move TimelineGet to backend code
|
2018-12-25 12:29:32 +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 |
|
|
d997fa8ca9
|
Fix null result in output
|
2018-12-09 16:26:44 +01:00 |
|
|
4fd3eb73ed
|
Cleanup of simplification MF2 to JF2
|
2018-12-08 16:56:08 +01:00 |
|
|
e0fd9d26ac
|
Add error handling for channel backend calls
|
2018-12-08 15:37:04 +01:00 |
|
|
81adf6bbca
|
Cleanup error messages
|
2018-12-08 15:36:50 +01:00 |
|
|
b0fb1b5bec
|
Move utility functions down
|
2018-10-03 19:12:18 +02:00 |
|
|
7f4eb2e7e3
|
Extract function to remove channel from Redis
|
2018-10-03 19:09:56 +02:00 |
|
|
7252675aba
|
Use updateChannelInRedis with uid and prio
|
2018-10-03 19:03:33 +02:00 |
|
|
beba0e5120
|
Reuse updateChannelInRedis
|
2018-10-03 18:59:53 +02:00 |
|
|
9c3e884fd1
|
Add notifications to channels
|
2018-10-03 18:57:37 +02:00 |
|
|
2288e70e85
|
Extract updateChannelInRedis
|
2018-10-03 18:56:26 +02:00 |
|
|
cec5fd0672
|
Simpleify ChannelsCreate
|
2018-10-03 18:54:23 +02:00 |
|
|
c51bfc4603
|
Move init of channels closer to init
|
2018-10-03 18:48:49 +02:00 |
|
|
08257bab25
|
Move start up messages to main function
|
2018-10-03 18:45:36 +02:00 |
|
|
036152d89e
|
Use RUnlock method without defer
|
2018-10-03 18:43:57 +02:00 |
|
|
ab7e654f7c
|
Move refreshChannels to own method
|
2018-10-03 18:41:46 +02:00 |
|
|
7e15298175
|
Move server to package
|
2018-09-12 22:35:49 +02:00 |
|
|
a64a4e1541
|
Add events
|
2018-09-08 19:56:54 +02:00 |
|
|
348fc5f33f
|
StablePartition the channels based on unread count
|
2018-09-02 11:12:07 +02:00 |
|
|
572c108dc1
|
Reset before and after if no new values are found
|
2018-08-29 20:42:59 +02:00 |
|
|
dc5f9883f2
|
Use empty slice instead of null slice
|
2018-08-28 21:29:18 +02:00 |
|
|
e02050013d
|
Fix a number of data races in the memory backend
|
2018-08-28 21:15:22 +02:00 |
|
|
118b072f38
|
Simplify matching of inclusion/exclusion regex
|
2018-08-18 20:57:43 +02:00 |
|
|
8360c178c7
|
Also look at referenced items for included text
|
2018-08-18 20:50:10 +02:00 |
|
|
03c7375064
|
Update channels count with new items for include matching
|
2018-08-15 20:08:03 +02:00 |
|
|
507aff683e
|
Use gomodule version of redis library
|
2018-08-15 19:04:15 +02:00 |
|
|
c678fc67da
|
Add missing deferred body Close calls
|
2018-08-15 19:03:45 +02:00 |
|
|
d4b51a6ad7
|
include: check for text and html content
|
2018-08-11 20:45:25 +02:00 |
|
|
d89dac6159
|
Check exclude regex on HTML as well
|
2018-08-05 21:01:55 +02:00 |
|
|
1cb3e21e7c
|
Move fetching code to fetch package
|
2018-08-05 13:45:12 +02:00 |
|
|
573816d75f
|
Move jf2 to own package, start cleanup of fetch
|
2018-08-05 12:15:59 +02:00 |
|
|
af3e90c964
|
Move from github.com/pstuifzand to p83.nl/go/ekster
|
2018-07-28 17:52:59 +02:00 |
|
|
023209c5d5
|
Add matching of includeRegex
|
2018-07-16 22:24:50 +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 |
|
|
c9ca63b7fa
|
Just return error instead of log.Fatal in Feedbin TimelineGet
|
2018-07-07 17:20:11 +02:00 |
|
|
dfd9b51cc5
|
Improve count updating when marking as read
|
2018-07-07 17:14:54 +02:00 |
|
|
6677bd95ab
|
Use errors in protocol
- Rewrite all api's and clients to use the new calls which allows errors
in the responses
|
2018-07-07 16:40:04 +02:00 |
|
|
bf645f33ef
|
Move microsub to pkg/microsub
|
2018-07-07 16:03:49 +02:00 |
|
|
7ed1d17373
|
Improve logging and handling of items
|
2018-07-05 22:52:19 +02:00 |
|
|
209e7510c1
|
Create channel information when creating channel
|
2018-07-03 22:44:53 +02:00 |
|
|
7d7d55099e
|
Remove channel from Redis when channels is deleted
|
2018-06-30 15:52:20 +02:00 |
|
|
9e4c93a389
|
Only show channels if it exists in the channels list
|
2018-06-30 15:50:04 +02:00 |
|
|
b7b706368a
|
Don't allow unread count to go below zero
|
2018-06-30 15:48:05 +02:00 |
|
|
59a784f326
|
Simplify code for deleting a channel
|
2018-06-30 15:45:35 +02:00 |
|
|
af7d289656
|
Simplify first time "backend.json" that's generated from new
|
2018-06-27 21:56:40 +02:00 |
|
|
ddd850db4d
|
Move websub to own package
- Move websub own package
- Add flag to disable auth (by default enabled)
- Process feed directly when following
|
2018-05-23 21:53:00 +02:00 |
|
|
00b041b981
|
Indent backend.json to make it easier to update
|
2018-05-16 21:38:47 +02:00 |
|
|
7199652e4a
|
Add TokenEndpoint to backend.json
- The tokenEndpoint provided here will be used to check the authenticity
of the token
|
2018-05-16 21:21:00 +02:00 |
|
|
d28f0d85c2
|
Make "Me" configurable in backend.json
|
2018-05-16 19:41:05 +02:00 |
|
|
26c8295193
|
Rename microsub-server --> ekster
- Server is called eksterd
- Client is called ek
|
2018-05-16 17:24:26 +02:00 |
|