Commit Graph

67 Commits

Author SHA1 Message Date
9c4a166b45
Extract database, add refreshFeeds
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-11 22:23:45 +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
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
67e617c969
Add pool
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-29 22:58:22 +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
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
96bade5a53
Improve error handling in main 2019-03-23 20:48:47 +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
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
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
c9f06518c1
Fix null pointer exception
All checks were successful
the build was successful
2018-12-16 22:08:33 +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
08257bab25
Move start up messages to main function 2018-10-03 18:45:36 +02:00
83bcf0e708
Options requests are always accepted
All checks were successful
the build was successful
2018-09-15 16:24:44 +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
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
67c27a6139
Remove cloud profiler 2018-08-26 18:50:00 +02:00
507aff683e
Use gomodule version of redis library 2018-08-15 19:04:15 +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
0d3e2638c1 Add profiler for microsub server 2018-07-26 19:49:55 +02:00
a69c6c2fde Move mainHandler to own files 2018-07-12 21:20:54 +02:00
d8da433a6d Make ClientID a constant 2018-07-12 21:09:37 +02:00
bc180ca8b3 Better checking for EKSTER_TEMPLATES 2018-07-12 21:04:26 +02:00
4c59931283 Extract session code 2018-07-12 21:00:47 +02:00
0f9752452d Extract template loading 2018-07-12 20:51:47 +02:00
076a0faea3 Create start of settings page 2018-07-11 11:00:06 +02:00
3f00d820dd Get the right template file 2018-07-09 22:21:25 +02:00
369849a493 Remove templates directory 2018-07-09 22:12:04 +02:00
462ee38b96 Add error checking for template loading and writing 2018-07-09 22:09:45 +02:00
59fcb1fc47 Use env templates 2018-07-09 22:09:11 +02:00
fe88320675 Add templates 2018-07-09 21:59:26 +02:00
8ef9e31446 Improve logging and error handling 2018-07-09 19:12:47 +02:00
a8918e59d0 Try to create better request 2018-07-09 19:01:03 +02:00
24a71a6b43 Add content-type header 2018-07-09 18:51:08 +02:00
5aa2c012cd Add Accept header to request 2018-07-09 18:48:09 +02:00
4df4371256 Print json response body 2018-07-09 18:44:28 +02:00
05d7c498c3 Add logout 2018-07-09 18:37:21 +02:00
93faba100e Save logged in info and show on the homepage 2018-07-09 18:33:04 +02:00
5b30d00838 Check if cookie exists 2018-07-08 14:50:09 +02:00