c9543e7a83
Problem: feeds are fetched every hour and haven't changed, or have changed often
...
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
...
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
903a9999c0
Set published when empty
continuous-integration/drone/push Build is passing
2021-10-31 23:08:43 +01:00
dc56e09914
Add logging to micropub
continuous-integration/drone/push Build is passing
2021-10-31 23:04:49 +01:00
5eed538bd1
Fill item source from FeadHeader
continuous-integration/drone/push Build is passing
2021-10-21 21:47:37 +02:00
44b73e1c79
chore: cleanup code of Ekster
continuous-integration/drone/push Build is passing
2021-10-20 20:23:54 +02:00
c894e4da13
Cleanup micropub id genration
2019-03-24 10:25:20 +01:00
e55232e00b
Improve micropub handling
2019-03-23 23:13:32 +01:00
2bf3ce7aa4
Remove GET /micropub request
continuous-integration/drone/push Build is passing
2019-03-23 21:04:42 +01:00
895af674e3
Extract parseIncomingItem
2019-03-23 21:03:45 +01:00
3f96dcfde3
Clean up errors in micropub.go
2019-03-23 20:53:52 +01:00
76819ac804
Remove global variable pool and replace fetcher with func
continuous-integration/drone/push Build is passing
2019-03-23 18:23:56 +01:00
8f59930268
Improve docs
continuous-integration/drone/push Build is passing
2019-03-20 20:53:36 +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
4fd3eb73ed
Cleanup of simplification MF2 to JF2
2018-12-08 16:56:08 +01:00
407d4fb155
Fix error in micropub input
2018-08-19 20:11:24 +02:00
507aff683e
Use gomodule version of redis library
2018-08-15 19:04:15 +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
c1f2b7a5a7
Add missing license matters
2018-07-28 18:03:21 +02:00
af3e90c964
Move from github.com/pstuifzand to p83.nl/go/ekster
2018-07-28 17:52:59 +02:00
09d2a72b33
Use channel adder with matchers
2018-07-16 22:38:21 +02:00
c3d8fb2802
Add type to item
2018-07-15 00:21:30 +02:00
3d03a17f42
Set ok = true in formencoded item
2018-07-15 00:16:57 +02:00
6426b31c0b
Add application/x-www-form-urlencoded to micropub endpoint
2018-07-15 00:12:05 +02:00
9a6ecac4d8
Get channel name from "token"
2018-07-15 00:07:44 +02:00
89201c0178
Start of logging in with Indieauth on Micropub
2018-07-14 17:29:06 +02:00
ae0d3d5388
improve logging and error handling
2018-07-08 11:01:56 +02:00
f1483f4171
Improve updating the count of items in a channel
2018-07-07 16:59:22 +02:00
bf645f33ef
Move microsub to pkg/microsub
2018-07-07 16:03:49 +02:00
2e83a023f5
Import strings package
2018-07-03 23:01:39 +02:00
9625549a5f
Indiepaper uses Authorization header for source_id
...
- Check author for source_id / auth token
2018-07-03 22:59:07 +02:00
b34604607d
Also log Headers on micropub
2018-07-03 22:55:01 +02:00
854e5f5e25
Add logging to micropub endpoint
2018-07-03 22:51:31 +02:00
b8c00a22d6
Also support "normal" MF2 requests for micropub
2018-07-03 22:45:13 +02:00
26c8295193
Rename microsub-server --> ekster
...
- Server is called eksterd
- Client is called ek
2018-05-16 17:24:26 +02:00