Commit Graph

315 Commits

Author SHA1 Message Date
edf5a029ee
Problem: unread channels are at random positions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: move unread channels to the top
2022-04-30 14:10:29 +02:00
7a4f0ce8e1
Problem: no source in micropub item
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: add source to micropub new item
2022-04-20 13:44:19 +02:00
caaa069660
Problem: no sources in database
All checks were successful
continuous-integration/drone/push Build is passing
Solution: add sources in database and tests
2022-04-20 13:22:06 +02:00
974f460f84
Problem: no feeds are shown as changed
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: use || instead of &&. As soon as one item was added, the feed
should be marked as changed.
2022-04-17 20:05:10 +02:00
6b60f5670a
Problem: errors when timeline does not exist
All checks were successful
continuous-integration/drone/push Build is passing
Solution: cleanup handling of timelines
2022-04-17 15:44:11 +02:00
296e2c03af
Problem: when logging UpdateFeed calls we only see channel Id
All checks were successful
continuous-integration/drone/push Build is passing
Solution: show channel name
2022-04-17 14:59:58 +02:00
a5105b0ddb
Problem: 0 unread items are not sent
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: remove check for unread, it's not working
2022-04-17 00:23:05 +02:00
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
ede2da8f8d
Problem: templates are not used
All checks were successful
continuous-integration/drone/push Build is passing
Solution: remove templates directory
2021-11-20 23:27:06 +01: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
c47a7f7f2a
Problem: resubscribe_at can be nil
All checks were successful
continuous-integration/drone/push Build is passing
Solution: allow nil values in resubscribe_at
2021-11-20 22:07:38 +01:00
7c4711da1b
Problem: templateFile is unused
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Solution: remove templateFile
2021-11-20 21:39:38 +01:00
7f16439dd7
Problem: return is unnecessary
Solution: remove return statement
2021-11-20 21:38:47 +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
fd3a246f0d
Problem: http status codes use integer constants
Solution: replace http status codes with symbolic constants
2021-11-20 21:32:19 +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
531f6b31d9
Problem: completion in templates does not work
All checks were successful
continuous-integration/drone/push Build is passing
Solution: add gotype: directive in templates
2021-11-10 23:03:28 +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
5d5ee63d68
Problem: hubBackend database is dependent on memoryBackend
Solution: remove the dependency between on the database in memoryBackend
2021-11-10 22:44:22 +01:00
8f04beda0f
Add LICENSE information to homepage
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-10 14:31:12 +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
ddad9371dc
Seed the random seed generator 2021-11-02 21:59:53 +01:00
f9c9455389
Only returns feeds with hubs
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-01 23:19:46 +01:00
903a9999c0
Set published when empty
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 23:08:43 +01:00
dc56e09914
Add logging to micropub
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 23:04:49 +01:00
a183b26312
Remove unused column in scan
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 22:46:32 +01:00
33e58ebe9e
Fix pointer in Scan
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 19:55:19 +01:00
198d18fe17
Use one more argument for leaseSeconds
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 19:16:49 +01:00
a38d2147bf
Fix order of arguments
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 15:16:53 +01:00
ae55224d11
Create circular references between backend and hubbackend
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 15:12:23 +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
5606fdf95c
Fix auth token url
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 01:47:11 +02:00
068104d20e
Fix order of auth lines
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 01:43:45 +02:00
e4c1c7e959
Static token config
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 01:41:40 +02:00
64ae959670
Use database backend instead of backend.json 2021-10-31 01:37:39 +02:00
40dd032ab0
Move App to app.go 2021-10-30 21:20:36 +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