Commit Graph

168 Commits

Author SHA1 Message Date
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
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
ab7e654f7c
Move refreshChannels to own method 2018-10-03 18:41:46 +02:00
83bcf0e708
Options requests are always accepted
All checks were successful
the build was successful
2018-09-15 16:24:44 +02:00
014898b8df
Adding missing return nil
All checks were successful
the build was successful
2018-09-15 16:17:33 +02:00
c17cd92268
Extract method: buildValidateAuthTokenRequest
Some checks failed
the build failed
2018-09-15 16:15:35 +02:00
8d99527e45
Move function down 2018-09-15 16:13:38 +02:00
8792285eb4
Cleanup error handling when setting token 2018-09-15 16:13:08 +02:00
76bad074c7
Remove err from parameters 2018-09-15 16:11:52 +02:00
6a26e9330e
Clean up the cached auth token code 2018-09-15 16:11:11 +02:00
994ab142d6
Fix checks for cached authorization 2018-09-15 16:10:01 +02:00
e3daa14614
Remove err from parameters 2018-09-15 16:08:28 +02:00
ab8998cdf2
Extract method setCachedTokenResponseValue 2018-09-15 16:07:56 +02:00
7361b524e8
Get the cached value from Redis 2018-09-15 16:04:50 +02:00
3c9f7eae47
You shouldn't be authorized always
Signed-off-by: Peter Stuifzand <peter@stuifzand.eu>
2018-09-15 16:00:57 +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
c160a34260
Add cache-control header
All checks were successful
the build was successful
2018-09-11 20:53:48 +02:00
691be5300d
Remove cache-control header 2018-09-08 20:29:07 +02:00
453b695901
Try other headers
All checks were successful
the build was successful
2018-09-08 20:26:19 +02:00
b38f2f526f
Remove space in ACAH header
All checks were successful
the build was successful
2018-09-08 20:21:29 +02:00
8d42585672
Use the API right
All checks were successful
the build was successful
2018-09-08 20:16:53 +02:00
c116139f89
Add ticker for real
All checks were successful
the build was successful
2018-09-08 20:12:55 +02:00
58b7027259
Add default ticker
All checks were successful
the build was successful
2018-09-08 20:07:05 +02:00
f0bdae1855
Add missing file
All checks were successful
the build was successful
2018-09-08 19:59:49 +02:00
a64a4e1541
Add events
Some checks failed
the build failed
2018-09-08 19:56:54 +02:00
bd05576f1c
Add cache-control to allowed methods
All checks were successful
the build was successful
2018-09-08 19:32:01 +02:00
56c25c6ab2
Add too simple events to the server
All checks were successful
the build was successful
2018-09-08 19:12:53 +02:00
0d1d391f2a
Microsub events test
All checks were successful
the build was successful
2018-09-08 17:49:20 +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
218f3ffa08
Improve template handling
All checks were successful
the build was successful
2018-09-01 13:35:02 +02:00
572c108dc1
Reset before and after if no new values are found
All checks were successful
the build was successful
2018-08-29 20:42:59 +02:00
dc5f9883f2
Use empty slice instead of null slice
All checks were successful
the build was successful
2018-08-28 21:29:18 +02:00
89a50821d4
Remove Redis from microsubHandler and pass as parameter
All checks were successful
the build was successful
2018-08-28 21:17:42 +02:00
e02050013d
Fix a number of data races in the memory backend 2018-08-28 21:15:22 +02:00
fa61569e56
Add Access-Control-Allow-Origin header to all requests
All checks were successful
the build was successful
2018-08-27 22:54:39 +02:00
4693b95f77
Move OPTIONS response higher up
All checks were successful
the build was successful
2018-08-26 18:54:45 +02:00
a4416164cd
Add Access-Control-Allow-Origin and friends
All checks were successful
the build was successful
2018-08-26 18:50:11 +02:00
67c27a6139
Remove cloud profiler 2018-08-26 18:50:00 +02:00
407d4fb155
Fix error in micropub input
All checks were successful
the build was successful
2018-08-19 20:11:24 +02:00