Commit Graph

482 Commits

Author SHA1 Message Date
e582fa42bb
Add tests for not creating duplicate channels
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-19 16:58:33 +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
199514857a
Improve error handling around authorization
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-27 22:56:08 +02:00
c13a483e32
Compact decoder in verifyAuthCode 2020-07-27 22:42:20 +02:00
45616fa60e
Flip verifyAuthCode if 2020-07-27 22:41:15 +02:00
105db3fbc4
Improve error message on verification of auth code
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-27 19:50:31 +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
53b4e748c3
Replace HPUT with HSET
HPUT is not a Redis command
2019-08-17 22:07:53 +02:00
c232fbc828
Only check when access_token is available
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 19:44:08 +02:00
a6dde44d56
Word "events" is not available in path
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 19:30:24 +02:00
627197438a
Change way to find the token
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 19:27:53 +02:00
4c16fda022
Get access_token from url when available
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-17 19:21:16 +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
c7a1e65b50
Use baseurl as ClientID
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 20:47:27 +02:00
8493175f4c
Improve error handling while loading 2019-08-06 21:38:19 +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
67e617c969
Add pool
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-29 22:58:22 +02:00
ed336fe39a
Extract method httpSessionLogout 2019-05-13 21:57:07 +02:00
4c1b768a09
Handle errors 2019-05-13 21:31:42 +02:00
28d7d953e2
Handle errors 2019-05-13 21:28:36 +02:00
f039df69a5
Add default settings for ChannelType
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-09 21:41:54 +02:00
ecb893bccd
Initialize hubbackend inside memoryBackend
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 16:54:03 +01:00
e4fddac6fc
Set pool on hubbackend in memorybackend
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 16:50:57 +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
0f9e3043ef
Use map instead of separate vars
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 14:02:23 +01:00
312ef8b873
Remove publishing of expvars
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 13:58:11 +01:00
6d51145dad
Add debug vars
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 13:55:46 +01:00
dc557efde9
Move signature validation for websub to own file 2019-03-24 13:37:30 +01:00
2d39edac8e
Remove receiver from auth methods 2019-03-24 10:25:40 +01: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
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
2bf3ce7aa4
Remove GET /micropub request
All checks were successful
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
96bade5a53
Improve error handling in main 2019-03-23 20:48:47 +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
414d2cb78e
Cleanup relative callback urls
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-20 10:28:10 +01:00
e631dcc813
Don't add error
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-19 22:35:31 +01:00
2b9150a5a3
Add docs and set the baseurl
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-19 22:19:17 +01:00
ca146fe5a0
Improve more errors and logs
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-19 22:09:55 +01:00
1e0f192ab4
Cleanup errors and documentation
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 21:55:07 +01:00
ea6d779d4e
Update channelcount
All checks were successful
the build was successful
2019-03-07 21:44:49 +01:00
2ab2ac5e3c
Load channelType from settings 2019-03-07 21:33:25 +01:00
19ee6c927a
Simplify channel update 2019-03-07 21:31:51 +01:00
9d3a23e5e4
Add channel type selection to the web interface 2019-03-07 21:30:12 +01:00
a72f3ce493
Split up timeline files - add null type
All checks were successful
the build was successful
2019-03-07 21:20:22 +01:00
70f5fb82f9
Improve source code
All checks were successful
the build was successful
2019-03-07 20:55:25 +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
e545f796ee
Improve notifications
All checks were successful
the build was successful
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
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
2d1be88dd1
Make tweets a normal stream again
All checks were successful
the build was successful
2018-12-30 09:34:39 +01:00
de23038cf9
Return nil instead of panic in unimplemented streams functions
All checks were successful
the build was successful
2018-12-30 08:44:38 +01:00
691012307b
Use streams for tweets
All checks were successful
the build was successful
2018-12-30 08:39:37 +01:00
1453faa2f9
Clean up some error texts 2018-12-29 20:29:56 +01:00
0c88e90853
Cleanup error messages in timeline.go 2018-12-29 10:34:31 +01:00
91e9add76a
ek: increase version to 0.8.4
All checks were successful
the build was successful
2018-12-27 19:37:28 +01:00
e82d5598ff
Add better explanation for URL in connect command
All checks were successful
the build was successful
2018-12-27 19:35:47 +01:00
88934bbbcc
Increase version of ek to 0.8.3
Some checks failed
the build was successful
continuous-integration/drone/tag Build is failing
2018-12-26 23:13:47 +01:00
1e4847cf35
Add error messages to nofications through stream channel backend
All checks were successful
the build was successful
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
56d9981a4a
Cleanup message from auth.go 2018-12-25 12:29:15 +01:00
084888880b
Don't resubscribe at feeds without Hub 2018-12-18 20:14:59 +01:00
34133191fc
Cleanup (parse category better)
All checks were successful
the build was successful
2018-12-18 19:40:56 +01:00
c9f06518c1
Fix null pointer exception
All checks were successful
the build was successful
2018-12-16 22:08:33 +01:00
5dcb64cc28
Handle error from ProcessContent in HubBackend
All checks were successful
the build was successful
2018-12-09 17:59:06 +01:00
d93530a237
Remove os.GetEnv call 2018-12-09 17:57:16 +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
f21a68a56d
Add -headless option 2018-12-09 16:30:02 +01:00
d997fa8ca9
Fix null result in output 2018-12-09 16:26:44 +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
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
e6201eacef
Remove "reader" command
All checks were successful
the build was successful
2018-11-25 12:50:12 +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