Commit Graph

167 Commits

Author SHA1 Message Date
cb9acf31ad
Add code for postgres-stream
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-11 17:28:52 +02:00
02bc2ab9bc
Add stream type postgres-stream
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-11 17:23:25 +02:00
67e18175c2 Rename NextUrl to NextURL
Fixes #38
2020-10-05 19:49:33 +00:00
d47533c0fb
Parse content from when type is map[string]string
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-22 15:00:49 +02:00
9ef3369389
Cleanup for go modules
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-27 22:09:02 +02:00
3aa93f03cd
Merge branch 'remove-feedbin'
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-19 22:09:29 +01:00
5515416eb4
Remove feedbin code
Closes #31.
2019-11-19 22:04:31 +01:00
04f2af64c6
Remove white-space:pre from html
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-19 22:05:02 +02:00
449e6321c6
Add 10 second ping message
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-18 11:52:03 +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
e9008fe45b
Improve event message sending
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 22:13:41 +02:00
a684c0c6af
Check if item was really added
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 19:59:19 +02:00
c5834cea6e
Add XTRIM to Streams AddItem
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 16:59:46 +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
ab673a0f2d
Simplify handling of Indieauth
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-06 21:27:40 +02:00
6fe3e8fd8e
Improve messages for events
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 16:41:13 +01:00
2971f45d7d
Improve event handling
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 16:39:07 +01: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
dc557efde9
Move signature validation for websub to own file 2019-03-24 13:37:30 +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
3d4c4744fe
Add docs to timeline package
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 20:45:58 +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
5b5b344f82
Cleanup rootdir
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 20:31: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
d668ee6e42
Remove logging from fetch package
All checks were successful
continuous-integration/drone/push Build is passing
- Add some documentation
2019-03-20 11:11:17 +01:00
3fe76d1fce
Add missing test example file
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 22:30:22 +01:00
7ac5ad8ec2
Fix tests
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 22:28:49 +01:00
05f3fabe71
Improve tests
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 22:25:47 +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
a1b2ece601
Fix author simplifcation
All checks were successful
the build was successful
2019-02-08 23:39:43 +01:00
0147c599a8
Add intermediate parsing step
All checks were successful
the build was successful
2019-02-08 23:25:12 +01:00
255d56d167
Filter map[string]interface{} properties
All checks were successful
the build was successful
2019-02-08 23:17:33 +01:00
ddb154e4d3
Log when other type of author
All checks were successful
the build was successful
2019-02-08 23:11:01 +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
5afdd56bb1
Add author from h-feed to children
All checks were successful
the build was successful
2018-12-30 10:15:14 +01:00
877a87e21d
Add summary field
All checks were successful
the build was successful
2018-12-29 10:34:51 +01:00
4708c89c25
Add many error checks around authorization
All checks were successful
the build was successful
2018-12-27 19:28:51 +01:00
dd14b103e3
Add better error messages for parsing response body 2018-12-27 18:59:46 +01:00
a2f76c6071
Parse photos
All checks were successful
the build was successful
2018-12-18 20:15:19 +01:00
3483b481e3
Use "cite" as "entry"
All checks were successful
the build was successful
2018-12-18 19:45:33 +01:00
34133191fc
Cleanup (parse category better)
All checks were successful
the build was successful
2018-12-18 19:40:56 +01:00
0e85cae03d
Use Dockerfile.alpine
Some checks failed
the build failed
2018-12-16 21:59:26 +01:00
9e5601f979
Remove name when equal to content[text]
All checks were successful
the build was successful
2018-12-09 18:19:25 +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
4fd3eb73ed
Cleanup of simplification MF2 to JF2
All checks were successful
the build was successful
2018-12-08 16:56:08 +01:00
17bee2852a
Error on unsupported StatusCode in GetEndpoints
All checks were successful
the build was successful
2018-12-07 21:52:19 +01:00
5c4144444a
Add items to items 2018-12-07 21:51:44 +01:00
07a3c1b1e3
Add status checks to get requests of ek 2018-12-07 21:23:01 +01:00
3c9f7eae47
You shouldn't be authorized always
Signed-off-by: Peter Stuifzand <peter@stuifzand.eu>
2018-09-15 16:00:57 +02: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
6e1b6e1826
Add unimplemented AddEventListener
Some checks failed
the build failed
2018-09-08 19:57:55 +02:00
a64a4e1541
Add events
Some checks failed
the build failed
2018-09-08 19:56:54 +02:00
3b8ada2852
Don't add children from items
All checks were successful
the build was successful
2018-09-08 13:56:59 +02:00
348fc5f33f
StablePartition the channels based on unread count
All checks were successful
the build was successful
2018-09-02 11:12:07 +02:00
d7834ebf53
Remove author completely when fields are missing
All checks were successful
the build was successful
2018-08-29 21:22:03 +02:00
78cace26d9
Remove uses of Summary 2018-08-29 21:21:41 +02:00
9e6765bf8e
Remove Summary from microsub.Item
Some checks failed
the build failed
2018-08-29 21:18:32 +02:00
1d10f555f3
Clean type of author
All checks were successful
the build was successful
2018-08-29 21:14:36 +02:00
52bc16436e
Change Summary from string to []string
All checks were successful
the build was successful
2018-08-19 21:50:54 +02:00
1cc5bc2865
If no Content is set, set it with Summary
All checks were successful
the build was successful
2018-08-19 21:35:26 +02:00
94c86d57ff
Add extra checks after failed response
All checks were successful
the build was successful
2018-08-19 21:34:46 +02:00
c1e51e873a
Add text value to output jf2
Some checks failed
the build failed
2018-08-19 17:04:14 +02:00
4d08d18d62
Simplify summary even more
Some checks failed
the build failed
2018-08-19 17:02:16 +02:00
64730b0e50
Cleanup summary, and use h-feed author
Some checks failed
the build failed
2018-08-19 17:00:09 +02:00
2ede21bfda
Improve handling of like-of and bookmark-of
All checks were successful
the build was successful
2018-08-19 16:30:24 +02:00
93a91a4966
Implement href expansion in RSS feeds
All checks were successful
the build was successful
2018-08-18 19:17:07 +02:00
c10bf83c41
Add -verbose option to enable logging
All checks were successful
the build was successful
2018-08-18 11:58:57 +02:00
c23802216e
Add logging of requests to ek 2018-08-18 11:50:38 +02:00
8a2dbfec7a
Cleanup author and checkin
All checks were successful
the build was successful
2018-08-05 23:16:13 +02:00
dc7493737a
Improve author handling
All checks were successful
the build was successful
2018-08-05 22:44:42 +02:00
6ed7dc8ddb
Include refs in microsub.Item
All checks were successful
the build was successful
2018-08-05 17:23:50 +02:00
207fd8ecd6
Copy type instead of guessing
All checks were successful
the build was successful
2018-08-05 14:03:21 +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
66489b6de7 Move jsonfeed to it's own package
All checks were successful
the build was successful
- Also implement hubs for jsonfeed
2018-08-04 22:43:57 +02:00
af3e90c964 Move from github.com/pstuifzand to p83.nl/go/ekster
All checks were successful
the build was successful
2018-07-28 17:52:59 +02:00
f3da9da58d Clean up url generation and callback 2018-07-16 21:05:52 +02:00
8083f50f6a Cleanup of info on cli 2018-07-07 23:49:09 +02:00
b291019093 Use microformats module to parse <link> elements 2018-07-07 20:37:49 +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
545fd6ca03 Parse HTTP Link headers for endpoints 2018-06-27 21:25:28 +02:00
59d60fcfab Use a random state 2018-06-27 21:16:40 +02:00
fab53a1b4d Add message on screen to close the window 2018-06-27 21:13:15 +02:00