Commit Graph

113 Commits

Author SHA1 Message Date
8adfb56274
Problem: item counts don't update
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: re-enable updateChannelUnreadCount
2022-04-17 00:09:26 +02:00
13484d1834
Problem: no events is sent when a channel is created
Solution: fix bug when checking if channel was created
2022-04-16 23:55:10 +02:00
c9543e7a83
Problem: feeds are fetched every hour and haven't changed, or have changed often
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Solution: implement histogram buckets for feed polling

The feeds are now implemented in tiers. The tier is the bucket the feed
is in. To calculate the minutes to wait for when to fetch the next feed,
you add 2**tier minutes to the current time.
The feeds to fetch are filter by this time.
2022-04-16 14:55:22 +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
bfe52d0f2a
Problem: break statements are redundant in switch statement
Solution: remove break statements
2021-11-20 21:38:06 +01:00
ec8b2805f5
Problem: condition is unnecessarily complex
Solution: simplify condition
2021-11-20 21:34:46 +01:00
7a9777b416
Problem: fetch2 is unused
Solution: remove fetch2
2021-11-20 21:33:41 +01:00
9c8cec2c5b
Problem: error values are ignored
Solution: handle error values
2021-11-20 21:26:06 +01:00
892a9cec72
Problem: memorybackend is a hubbackend
All checks were successful
continuous-integration/drone/push Build is passing
Solution: memorybackend has a hubbackend
2021-11-10 23:15:45 +01:00
a75bbb2551
Problem: HubBackend depends on ProcessContent in memorybackend
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Create interface for memorybackend and depend on that.
2021-11-10 22:53:51 +01:00
feb59bfab1
Try to generate multiple uid before failing
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-02 22:00:10 +01:00
21c226ce56
Re-enable CreateFeed for WebSub
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 15:04:26 +01:00
3a43844e93
Fix foreign key errors for feed_id
All checks were successful
continuous-integration/drone/push Build is passing
Fix usage of QueryRow.Scan
2021-10-31 14:51:31 +01:00
26b85152fd
Move subscriptions to database 2021-10-31 14:24:41 +01:00
4f6ea0efb2
Don't use LastInsertId() with postgres
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 02:03:38 +02:00
f83970446e
Log feed ID on ProcessContent error
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 01:56:55 +02:00
64ae959670
Use database backend instead of backend.json 2021-10-31 01:37:39 +02:00
b608fe6bc6
Create Fetcher interface and use it 2021-10-30 21:09:27 +02:00
3365b38e5a
Create more notifications for errors while processing feeds
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-29 23:58:58 +02:00
79b0d719ec
fix: read twice from body
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 23:14:55 +02:00
6e347bd493
Replace sourced items
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 23:08:57 +02:00
a331f4a300
Add Source to Preview items
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 22:10:08 +02:00
5eed538bd1
Fill item source from FeadHeader
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 21:47:37 +02:00
c49afabaa8
add removeFeed to remove feed from channels
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 21:21:38 +02:00
fff2a92b72
breaking change: make "postgres-stream" the default channel type 2021-10-21 20:03:03 +02:00
b4cc885103
eksterd: add channel to search results
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-01 00:04:39 +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
9d81cc9a3a
Add logging for timeline fetching
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 21:56:23 +02:00
9c4a166b45
Extract database, add refreshFeeds
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-11 22:23:45 +02:00
1b02a8181a
Fetch the channel when it doesn't exist 2020-08-19 16:06:55 +02:00
08ae30b305
Only send 'delete channel' event when channel was removed
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-09 10:06:12 +02:00
330931742b
Add event 'delete channel'
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-09 09:59:11 +02:00
1144c615da
Add 'new channel' and 'update channel' events
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-09 09:50:23 +02:00
d4de6faa89
Save and use excluded types
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-19 20:32:30 +02:00
19f3177f66
Add UI for saving excluded post types 2019-08-19 20:16:48 +02:00
f8b9003c36
Specify names of new item event fields
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-18 13:46:37 +02:00
b3ecad3c92
Add channel to new item message
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-18 13:15:03 +02:00
46c308619e
Only update unread count when it has changed
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 22:08:22 +02:00
d2fc2ecd3c
Added boolean to show when item was added to channel
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 16:55:59 +02:00
8493175f4c
Improve error handling while loading 2019-08-06 21:38:19 +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
2d39edac8e
Remove receiver from auth methods 2019-03-24 10:25:40 +01:00
ed90ebbdd3
Improve error handling in authentication
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 21:29:48 +01:00
42431954e2
Move getTimeline to memory.go
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 20:43:22 +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
baab9e6051
Initialize pool earlier
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 19:38:25 +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
8f59930268
Improve docs
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-20 20:53:36 +01:00
ea6d779d4e
Update channelcount
All checks were successful
the build was successful
2019-03-07 21:44:49 +01:00