aboutsummaryrefslogtreecommitdiff
path: root/pkg/worker
AgeCommit message (Collapse)Author
2023-08-05ref: Move net/httpGabriel Arakaki Giovanini
I was young and naive, fasthttp does not fit my needs and make development slower. I'll move to net/http since it has a wider support and will spare some time on implementation detail things (like CSRF). It will allow me to reduce a bit of the code since there may be lib for handling cookie encryption and auth in general.
2023-07-19ref: Fix linting errorsGabriel Arakaki Giovanini
2023-07-18feat: Move to user path mediaGabriel Arakaki Giovanini
Now media also base on user folder to fetch its media.
2023-07-04feat: Add use based file scannerGabriel Arakaki Giovanini
2023-07-03fix: Fix content typeGabriel Arakaki Giovanini
Content type was always being set to `text/html`. Also swap lib for processing thumbnail for something that accepts HEIC.
2023-07-01feat: Add thumbnailerGabriel Arakaki Giovanini
2023-06-29ref: Move away other repositoriesGabriel Arakaki Giovanini
Finish moving all repositories to a repository package. This should reduce the amount of packages.
2023-06-26feat: Partially fix testGabriel Arakaki Giovanini
This will totally be fixed later.
2023-06-26feat: Add scheduler to chan processorGabriel Arakaki Giovanini
2023-06-25feat: Add static file to output binGabriel Arakaki Giovanini
Now the final binary has a standalone web server including necessary static file.
2023-06-25feat: Remove unnecessary functionGabriel Arakaki Giovanini
2023-06-24ref: Rename list to batch processorGabriel Arakaki Giovanini
2023-06-24feat: Add log to list list processorGabriel Arakaki Giovanini
2023-06-24feat: Add scheduler againGabriel Arakaki Giovanini
Since I have fixed the issue with the `SIGTINT` hanging the application I can readd the scheduler once more. Also move the param for amount of scheduler work.
2023-06-23fix: Wrap media scan into a go routineGabriel Arakaki Giovanini
For some unknown reason `ReadExif` hangs when the context is canceled through signal handling. Perhaps perl-exif tooling is closing on `SIGNINT`.
2023-06-23feat: Remove unecessary param from repoGabriel Arakaki Giovanini
2023-06-18feat: Inicial commitGabriel Arakaki Giovanini
It contains rough template for the server and runners. It contains rough template for the server and runners.