Commit Graph

80 Commits

Author SHA1 Message Date
Kostiantyn
33ef0981d7 Bump gqlparser to the latest minor version (#1149)
Co-authored-by: Konstantin Koval
2025-01-02 18:31:24 +02:00
Kostiantyn
9835c1949d Bump gqlgen in API to the latest version and regenerate the code (#1147)
Co-authored-by: Konstantin Koval
2024-12-30 17:17:06 +02:00
Googol Lee
f88fcaba69 Use libmagic to identify files type. (#1124)
* Use libmagic to identify file types.

* Fix mime array for database querying.

* go mod tidy

* Fix typo

* Another fix for the scheduled image build workflow for tag case (#1137)

* Try to fix the incorrect tag processing

* more debug code

* try with context=git

* hopefully, final debug

* the final commit with no debug code

---------

Co-authored-by: Konstantin Koval

* Add benchmark.

* rollback workflows.

* Fix AI comments.

* Build image.

* Fix AI comments.

* Fix AI comments.

* Rollback build workflow.

---------

Co-authored-by: Kostiantyn <32730812+kkovaletp@users.noreply.github.com>
2024-12-14 22:07:03 +01:00
Kostiantyn
f1d4d0a048 Bump crypto, go-ffprobe, and sqlite GO dependencies in /api (#1140)
Updated dependencies for improved performance and security:
- golang.org/x/crypto to version v0.31.0
- gopkg.in/vansante/go-ffprobe.v2 to version v2.2.1
- gorm.io/driver/sqlite to version v1.5.7

Co-authored-by: Konstantin Koval
2024-12-14 20:56:44 +02:00
Kostiantyn
3c53ccc304 Bump several API dependencies to the latest versions (#1138)
* Bump several API dependencies to the latest versions

Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /api
Bump github.com/vektah/gqlparser/v2 from 2.5.19 to 2.5.20 in /api
Bump gorm.io/driver/postgres from 1.5.10 to 1.5.11 in /api
Bump golang.org/x/image from 0.22.0 to 0.23.0 in /api
Bump golang.org/x/crypto from 0.29.0 to 0.30.0 in /api
Bump github.com/99designs/gqlgen from 0.17.56 to 0.17.57 in /api

* Regenerate GraphQL code

---------

Co-authored-by: Konstantin Koval
2024-12-06 16:20:48 +02:00
Kostiantyn
dde45c29b9 Bump gorm.io/driver/postgres from 1.5.9 to 1.5.10 in /api (#1135)
Co-authored-by: Konstantin Koval
2024-11-22 13:51:15 +02:00
Kostiantyn
91bf79a86e Bump gqlgen and its indirect dependencies in API (#1123)
Co-authored-by: Konstantin Koval
2024-11-16 16:00:47 +02:00
Kostiantyn
3cf63e7e2b Bump gqlparser, crypto, image, and their deps to the latest versions (#1117)
Co-authored-by: Konstantin Koval
2024-11-09 19:02:43 +02:00
Kostiantyn
7e3f76aba8 Bump github.com/vektah/gqlparser/v2 from 2.5.17 to 2.5.18 in /api (#1100)
Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-10-17 18:12:28 +02:00
Kostiantyn
7e0c38b5b4 Bump github.com/99designs/gqlgen, golang.org/x/crypto, golang.org/x/image, golang.org/x/sys, golang.org/x/text (#1094)
Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-10-11 10:23:42 +02:00
Kostiantyn
57d5ac5235 Bump version (#1070)
Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-10-01 16:11:02 +02:00
Kostiantyn
70a3944e21 Bump gqlgen (#1061)
Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-09-30 11:07:25 +02:00
Googol Lee
a1263feac4 Update gqlgen and fix the code. (#1055) 2024-09-17 17:00:03 +02:00
Googol Lee
340c181442 Use self-building dependencies and update the code with imagemagick. (#1053) 2024-09-17 15:02:23 +02:00
Kostiantyn
e8914e0890 new deps (#1048)
Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-09-12 22:17:01 +02:00
Googol Lee
a6cbfc76f3 Back to bookworm. (#1040) 2024-09-06 13:32:22 +02:00
Googol Lee
ad13172a32 Switch to Debian testing and imagemagick. (#1021) 2024-08-29 10:30:06 +02:00
Kostiantyn
5438fbb3f4 Update crypto and image versions (#1015)
Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-08-11 20:02:24 +02:00
Kostiantyn
4d9ce30583 Bump 'crypto' and 'gorm' versions based on Dependabot PRs (#1008)
Co-authored-by: Konstantin Koval
2024-08-03 19:36:18 +03:00
Googol Lee
e36b09753a Bump go version and modules. (#976)
* Bump go version to 1.22. Bump all go module to the newest version, except pinning libheif@v1.15.1 to match the c lib version in Debian bookworm.

* Update go_wrapper.sh to fit golang image.

* Update the way to set go envs.

* Test against go 1.22

* Set default shell for all building stage in Dockerfile.
2024-06-28 10:10:18 +03:00
Jordan Hellier
f900d55300 Fix audit issues in production (#933)
* chore: upgrade api dependencies to latest compatible version

* chore: update ui dependencies first pass

* chore: migrate ui dependency to latests

Migrates i18next-parser from 6.x -> 8.x per documentation

* chore: add missing tools file

* chore: regenerate files

* chore: fix docker build from incorrect depedency

bookworms latest stable version of libheif-dev is 1.15.1
2024-04-11 22:21:08 +01:00
viktorstrate
248d858592 Add Basque language
Thank you to Xabi for the translation
2022-07-05 15:11:49 +02:00
viktorstrate
b4ad1c4f88 Add blurhash generation 2022-02-01 22:02:08 +01:00
viktorstrate
722e639bb1 Update go and node dependencies.
- Refactor UI to work with v6 of react-router
2022-01-31 22:32:17 +01:00
viktorstrate
c5a307283d Refactoring of API
- Add request context to all database calls
- Update deprecated gqlgen functions
- Update go.mod dependencies
2021-11-11 18:57:02 +01:00
viktorstrate
b467f2ca61 Add failing test for #198 2021-11-06 12:23:47 +01:00
feinedsquirrel
52c2c76169 update Kagami/go-face target commit and new deps for it 2021-06-04 14:45:33 -06:00
viktorstrate
88a9d705a9 Add integration tests for exif parsers 2021-04-22 21:37:59 +02:00
viktorstrate
b6a85d0966 Finish localization
- Add user preferences section to settings
- Make settings page available for all users
- Move log out button to settings page
- Make it possible for each user to choose their desired language
2021-04-11 22:31:42 +02:00
viktorstrate
17fe8c01dc Update go dependencies 2021-04-03 16:43:11 +02:00
Kjeldgaard
f946500eaa Use barasher/go-exiftool
Use barasher/go-exiftool again.
Exposure is not saved as float and not a string.

Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-31 23:35:25 +02:00
Viktor Strate Kløvedal
454b2dbadd Merge branch 'master' into 244_exiftool 2021-03-29 12:10:02 +02:00
viktorstrate
b59ba20bd1 Refactor Dockerfile
- Use debian:bullseye instad for newer packages
- Only install necessary dependencies for targeted arch
- Make it work with libheif
2021-03-28 13:57:57 +02:00
viktorstrate
a039941dda Add libheif to Dockerfile 2021-03-27 22:30:26 +01:00
viktorstrate
4344e895d1 Support .heic images + refactor EncodeMediaData 2021-03-27 21:14:42 +01:00
Kjeldgaard
7b5305579b Extract metadata as integers
Extract all metada as integers fomr exiftool.

Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-23 21:36:03 +01:00
Kjeldgaard
1f9f6ebf9a Use exiftool for parsing exif data
Use exiftool to parse exif metadata.

Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-20 00:26:05 +01:00
viktorstrate
c18759e6db Fix darktable docker install
and print version of executable workers on startup
2021-03-03 13:32:44 +01:00
viktorstrate
c80e25f8b0 Try to replace Parcel with Esbuild
Still some problems with styling
2021-02-25 12:53:39 +01:00
viktorstrate
abb80ae425 Start on face detection 2021-02-15 17:35:28 +01:00
Viktor Strate Kløvedal
ce3090394b Add dataloaders to combine database queries (#190)
See also https://gqlgen.com/reference/dataloaders/
2021-02-07 22:17:33 +01:00
viktorstrate
d5ace2c0f8 Finish media interaction 2021-02-07 15:54:13 +01:00
viktorstrate
ddd2cad1a3 Add query resolver for timeline view 2021-02-04 19:02:51 +01:00
viktorstrate
52e8013026 Fix sql compatibility problem when running in Docker 2021-01-17 18:12:32 +01:00
viktorstrate
41b122c461 Start on sqlite support
- TODO: Sqlite doesn't support MD5, all calls to this function should be done
  beforehand.
2021-01-10 18:59:01 +01:00
viktorstrate
732ccd05ab restructure user <-> albums relations in database 2020-12-20 17:10:00 +01:00
viktorstrate
907894dda3 Merge branch 'master' into v2.0.0 2020-12-17 23:18:00 +01:00
viktorstrate
4cd822f068 Update gomod to reflect repo transfer 2020-12-17 22:51:43 +01:00
viktorstrate
2903670255 Migrate album and media sharing 2020-12-17 22:29:24 +01:00
viktorstrate
4f370deab9 Merge remote-tracking branch 'origin/master' into v2.0.0 2020-12-10 12:30:10 +01:00