Age | Commit message (Collapse) | Author |
|
Now only admins can access settings.
|
|
|
|
Now the tasks will loop every given time. With this it will be able to
pick up new photos after the application was started.
I added 2h for file because my personal photo gallery is quite big and
quite IO bottled necked so it tasks a lot of time to go through.
|
|
This is a initial UI album implementation. This should cover the most
basic album navigation.
This is still plenty to do :)
|
|
* 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.
|
|
|
|
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.
|
|
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.
|
|
Let the use pick if they want to preload videos' metadata.
|
|
|
|
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.
|
|
Now media also base on user folder to fetch its media.
|
|
|
|
Now files follow user path configuration
|
|
Content type was always being set to `text/html`.
Also swap lib for processing thumbnail for something that accepts HEIC.
|
|
|
|
Move all controller to the same folder and rename them to service.
Moving them to the same folder allow an easier setup for testing.
|
|
Finish moving all repositories to a repository package. This should
reduce the amount of packages.
|
|
|
|
|
|
Fill user settings UI with actual data.
|
|
Now the final binary has a standalone web server including necessary
static file.
|
|
|
|
|
|
|
|
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.
|
|
|
|
Start using flags to set some params like key and database connection.
As a flag parse I opt for a lib that uses posix style params.
|
|
|
|
It contains rough template for the server and runners.
It contains rough template for the server and runners.
|