aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-22ref: Move the yt manager to the workerGabriel A. Giovanini
Simplify the worker/manager relationship. Now the worker is responsible for the managing the yt-dlp process as well. Also introduce chan to report back logs. That is an attempt to decouple things.
2022-07-13feat: Add custom cssGabriel A. Giovanini
2022-06-20ref: Remove model dependency fom workerGabriel A. Giovanini
It was a bit weird to have that dependency in first place.
2022-06-19ref: Make the slice at onceGabriel A. Giovanini
A small optimization, it will create the slice at once so it won't to expand multiple time later when append is called.
2022-06-16fix: Pass entry as referenceGabriel A. Giovanini
It was not getting the object created by gorm so `.ID` was 0 causing all sort of weird iterations. That is also cause by the lack of testes. That will also be fixed in the next commits.
2022-06-16feat: Add one more stateGabriel A. Giovanini
Add a new state to the worker so it can better report what is happening. Also added a status report in the index page.
2022-06-16feat: Add gitlab pipelineGabriel A. Giovanini
2022-06-16feat: Add workerGabriel A. Giovanini
Add a simple worker to manage a work queue. Right now, it is bit brittled and has no test coverage yet, but it works. Also moved from pico.css to bulma, I like the idea of classes approach of pico but for me bulma yields a better result.
2022-06-15ref: Move to a MVC like approachGabriel A. Giovanini
Before everything was dumped into the controller file, now it is spread out a bit. It is still far from good, like the controller is not really a controller... baby steps I guess The refactored was based on this post: https://www.alexedwards.net/blog/organising-database-access
2022-06-13ref: Rename snake case variableGabriel A. Giovanini
My pythonic brain kicked in and I ended up naming a variable using snake case.
2022-06-13feat: Add poor implementation for the workerGabriel A. Giovanini
This is just me testing a bit how doworker works, while I learn of go/gin in the process.
2022-06-06Initial commitGabriel A. Giovanini