478cc5b82c
Upgrade to Go 1.24.3
2025-05-07 21:40:42 -07:00
13d0c571ab
Update go version
2025-04-12 11:18:43 -07:00
055bc7781e
Add missing sqlc back into build container
Build Production Image / Build Production Image (push) Successful in 4m48s
2024-02-11 08:48:37 -08:00
2884f5c398
Move dev tools into new container
2024-02-09 16:59:54 -08:00
de083c16e1
Unit test before pushing image
...
Build Production Image / Build Production Image (push) Successful in 5m41s
And disable unit test on git push
2024-01-11 18:37:35 -08:00
2a9fd35204
Add CI image build and publish
Build Production Image / Build Production Image (push) Failing after 5m42s
2024-01-11 15:54:31 -08:00
3b2bd50751
Update dependencies
2023-10-13 18:17:12 -07:00
d0339272e6
Update to Go 1.21.0
2023-08-12 18:56:26 -07:00
ef4acfb0b8
Upgrade sqlc to 1.20.0
2023-08-01 09:05:30 -07:00
0ff75c990c
Improvements to image resizing and storage
...
- Create a new preview-size to replace the old full-size
- Delete uploaded images after conversion
- Create a new full-size which is max 2000px
- Strip exif data on all images
2023-05-05 02:05:27 +00:00
21c481af55
Add air for reloading Go code
...
This is really helpful now that changing templates requires a rebuild.
2023-04-21 22:32:10 +00:00
0684a0f1ed
Set timezone in the container
...
This can be overridden at launch time should the user desire.
Setting this makes the logs much easier to read. The database still
stores events in UTC and does not specify a timezone.
2023-04-20 15:20:50 +00:00
c2491b72b0
Update dependencies and Go version
2023-04-08 15:14:18 +00:00
65e66070c9
Install bash-completion in devcontainer
2023-02-19 04:16:14 +00:00
3a27c872c5
Upgrade to go 1.20.1
2023-02-15 05:09:40 +00:00
ba0bde6a70
Switch to building tailwind with postcss
...
This will allow us to pull tailwind css values out of Go files in
addition to out of html template files.
2023-02-10 03:38:46 +00:00
0d7110b9e4
Install sqlite3 and libvips through apt
2023-01-20 04:15:35 +00:00
7ed7931891
Exec vips commands directly
...
Stop using the govips abstraction and instead call out to vips on the
commandline directly.
2023-01-20 03:55:15 +00:00
eaef13045b
Remove webp image support
...
The files are not removed from the database yet, but we are not creating
them going forward. It was very minimal space savings compared to the
complexity of the code. I do not think that the extra bandwidth of a
reasonably sized jpg is going to be noticable.
2023-01-20 03:14:55 +00:00
5d0c9dcbe5
Fix missing css in production container
2023-01-11 04:56:17 +00:00
82dd412ded
Do not use scratch container in prod
...
It was proving to be too much of a hassle. For example, emails failed to
send on my new server because of a device in use error.
2023-01-04 17:15:38 +00:00
d90ab31d35
Add and configure sqlc
2022-12-29 18:17:54 +00:00
232fe85984
Add gofumpt
2022-12-29 18:05:25 +00:00
70e6d28278
Fix typo in dockerfile
2022-12-29 18:05:04 +00:00
ebeb5324af
Add sqlite settings to environment
2022-12-18 16:56:25 +00:00
f6a898c05b
Move mod=vendor flag into makefile
2022-12-07 17:51:26 +00:00
60c4b9799a
Vendor dependencies
2022-12-07 03:55:13 +00:00
a8bec81a1f
Fix permissions for production vips temp directory
2022-11-20 00:21:13 +00:00
000c4810da
Upgrade libvips, sqlite, and go
2022-11-19 04:45:01 +00:00
9bbd7d7465
Fix bug in dockerfile and add logging to database path
2022-11-17 17:49:51 +00:00
41622fdb4a
Add workaround for tempdir in govips
2022-11-17 16:51:02 +00:00
efd65aac81
Add certificates to production container
2022-09-29 16:04:35 +00:00
450d00d173
Make wget quiet
2022-09-29 03:33:56 +00:00
bec9f9d2f4
Fix missing backslash in dockerfile
2022-09-29 03:27:43 +00:00
953ce25b97
Install sqlite cli in dev container
2022-09-27 21:10:43 -07:00
723e441362
Simplify dockerfile
2022-09-22 02:33:51 +00:00
a9ca362a83
Show unit test coverage in vs-code
2022-09-21 09:32:36 -07:00
84030be8b7
Run database migrations when starting the app
2022-09-14 21:10:08 -07:00
f3f5f74985
Initial creation of new database schema
2022-09-14 15:18:45 -07:00
94d2ae7542
Production image fixes
2022-09-09 20:58:06 -07:00
38ddb868ac
Install correct version of go for arch
2022-09-09 11:47:44 -07:00
dc9356ef5d
Remove libaom since we are not using avif images
2022-09-09 10:56:54 -07:00
5cdaa421c6
Create production docker image
...
Image contains necessary shared libraries. The image is built off the
dev container image, but does not include anything not critical for
running the app.
2022-09-09 09:41:34 -07:00