1
Fork 0
Commit Graph

19 Commits

Author SHA1 Message Date
viktorstrate 27b2f95a7b Start on migrating database integration to gorm 2020-11-23 19:39:44 +01:00
viktorstrate 940e48fee3 Enable http compression for API 2020-10-04 16:34:47 +02:00
viktorstrate 44a00c7415 Move setup of executable workers to function
- Fix startup crash if no site_info row was found
2020-09-23 14:34:26 +02:00
viktorstrate 9c9807ecc9 Add admin setting to change max concurrent workers 2020-09-21 21:32:30 +02:00
viktorstrate 05380354e3 Setup periodic scan background runner 2020-09-21 12:34:56 +02:00
viktorstrate f537b1d608 Add video route (still unprotected) 2020-07-11 15:57:58 +02:00
viktorstrate 95f4df4b7d Start to integrate new scanner system with api 2020-06-23 00:40:47 +02:00
viktorstrate ff0ea48aca Add defaults for more env variables in Dockerfile
Add defaults for:
- API_LISTEN_IP
- API_LISTEN_PORT
- SERVE_UI
2020-04-30 14:59:29 +02:00
Bruno Sousa e39349963b use log.Panicf instead of just panic 2020-04-15 16:20:09 +02:00
Bruno Sousa c64b4d0d39 make SetupDatabase returns an error and use PingContext with timeout 2020-04-15 16:18:51 +02:00
BkSouX 11ea1c13bd api - miss import 2020-04-14 20:04:39 +02:00
BkSouX d256a31842 api - panic instead of fatal when issue with the database migration 2020-04-14 20:00:06 +02:00
viktorstrate 399cb295f2 Move spa handler to a separate file 2020-04-06 22:21:58 +02:00
viktorstrate b4676af3c1 Rewrite environment variable configurations 2020-04-06 22:16:25 +02:00
viktorstrate 48520a7d2d Further work on single docker container
- Add proper .dockerignore
- Fix photo prefix
- Print public endpoint when server starts
- Discard API_LISTEN_PORT
2020-04-05 18:54:13 +02:00
Brandon Davis 4661bae48d One dockerfile to rule them all 2020-02-29 20:06:18 -05:00
viktorstrate 935dc5b55e Work on notifications + custom logger 2020-02-21 20:51:50 +01:00
viktorstrate 2d15e7c41f Add authentication for websockets 2020-02-21 17:53:04 +01:00
viktorstrate b2a8fd09f9 Work towards subscriptions
- Replace chi with gorilla/mux
- Write custom CORS rules
- Start on notification subscriptions
2020-02-21 16:50:50 +01:00
Renamed from api/server/server.go (Browse further)