aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-13feat: Add better tooling for running the projectGabriel Arakaki Giovanini
* Add watch option for hot reload(ish). * Read from `.env` file. This make local development a bit easier since now can easily run the application with custom configuration.
2023-08-06feat: Add album scannerGabriel Arakaki Giovanini
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-31ref: Move some bin from img to lensGabriel Arakaki Giovanini
2023-07-24ref: Move to boxed testsGabriel Arakaki Giovanini
2023-07-22feat: Add user managementGabriel Arakaki Giovanini
As many things it is on crude state. The settings.go has become a big mess, but I have achieve MVP, so from now one things shall improve as I'll spent more time on refactoring.
2023-07-20feat: Add option to preload metadataGabriel Arakaki Giovanini
Let the use pick if they want to preload videos' metadata.
2023-07-20fix: Build qtc on the pipelineGabriel Arakaki Giovanini
2023-07-20feat: Fix video loading its full widthGabriel Arakaki Giovanini
2023-07-19feat: Add build processGabriel Arakaki Giovanini
To make sure that the project does not only compile on my machine.
2023-07-19ref: Fix linting errorsGabriel Arakaki Giovanini
2023-07-19ref: Remove static fs on rootGabriel Arakaki Giovanini
Go embed does allow to load parent folder, so I move static fs to static folder as I think it fits better there than in the root of the project.
2023-07-19feat: Move last page to qtplGabriel Arakaki Giovanini
2023-07-19ref: Move auth functions to serviceGabriel Arakaki Giovanini
2023-07-19feat: Move settings from `html/template` to qtplGabriel Arakaki Giovanini
2023-07-19fix: Fix path not storing properlyGabriel Arakaki Giovanini
Also, initial user is now created as admin.
2023-07-19feat: Move register from `html/template` to qtplGabriel Arakaki Giovanini
2023-07-19feat: Move login from `html/template` to qtplGabriel Arakaki Giovanini
2023-07-19feat: Move error from `html/template` to qtplGabriel Arakaki Giovanini
2023-07-18doc: Add dev requirementsGabriel Arakaki Giovanini
Add some requirements to run the project.
2023-07-18feat: Add template generating to make fileGabriel Arakaki Giovanini
Add template generating code to `make` process.
2023-07-18feat: Move media from `html/template` to qtplGabriel Arakaki Giovanini
2023-07-18chore: Add quicktemplate dependencyGabriel 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-04feat: Add user based filesGabriel Arakaki Giovanini
Now files follow user path configuration
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-30feat: Add new rule for not so useful optimizationGabriel Arakaki Giovanini
2023-06-29test: Add simple test for settingsGabriel Arakaki Giovanini
2023-06-29ref: Move all controller under the same folderGabriel Arakaki Giovanini
Move all controller to the same folder and rename them to service. Moving them to the same folder allow an easier setup for testing.
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-29ref: Refactor how repository is defineGabriel Arakaki Giovanini
To make things easier and reduce the number of package I'll move all repository to one folder, starting with auth and user repository. Also implements all testing on top of the repository interface with a im memory implementation. This will later make mescling unit and integration easier.
2023-06-26feat: Partially fix testGabriel Arakaki Giovanini
This will totally be fixed later.
2023-06-26feat: Add initial user setupGabriel Arakaki Giovanini
2023-06-26feat: Add scheduler to chan processorGabriel Arakaki Giovanini
2023-06-25feat: Store image sizeGabriel Arakaki Giovanini
Add image dimensions to exif fetch.
2023-06-25feat: Add user list UIGabriel Arakaki Giovanini
Fill user settings UI with actual data.
2023-06-25feat: Add make rules for upx compressingGabriel Arakaki Giovanini
I don't know if that will work in the long run but I have added just in case.
2023-06-25fix: Actually read from embeddedGabriel Arakaki Giovanini
Previous implementation was not reading from embedded fs.
2023-06-25feat: Remove bin sizeGabriel Arakaki Giovanini
2023-06-25feat: Add mockup for user settingsGabriel 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: Add itens to TODOGabriel 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