Commit Graph

29 Commits

Author SHA1 Message Date
Kostiantyn
2d1c5df73b Bump GQLgen to the latest version (#1267)
Co-authored-by: Konstantin Koval
2025-08-04 16:22:45 +03:00
Kostiantyn
029bf280e5 Bump GQLparser and GQLgen deps in API (#1234)
Co-authored-by: Konstantin Koval
2025-06-30 22:53:20 +03:00
Kostiantyn
73ae3e8132 Bump API deps to versions, released this week (#1220)
Co-authored-by: Konstantin Koval
2025-06-20 11:39:07 +03:00
Kostiantyn
9369f72d3b Bump API deps from last 2 weeks (#1218)
Co-authored-by: Konstantin Koval
2025-06-13 20:58:03 +03:00
Kostiantyn
36f3924b4f Bump GQLgen, GQLparser and GORM versions in API (#1197)
* Bump GQLparser and GORM versions in API

* Bump GQLgen as well

* Revert GORM update

---------

Co-authored-by: Konstantin Koval
2025-05-05 18:14:59 +03:00
Kostiantyn
0961984134 Bump gqlgen and gqlparser versions in API (#1191)
* Bump `gqlgen` and `gqlparser` versions in API

* new gqlgen version

---------

Co-authored-by: Konstantin Koval
2025-04-21 22:54:49 +03:00
Kostiantyn
862ac5af39 Bump gqlgen to 0.17.70 (#1184)
Co-authored-by: Konstantin Koval
2025-03-27 20:46:14 +02:00
Kostiantyn
0f19345d86 Bump several GO dependencies to the latest versions (#1182)
Co-authored-by: Konstantin Koval
2025-03-22 22:20:24 +02:00
Googol Lee
06acd165f2 Bump golang from 1.23-bookworm to 1.24-bookworm, as well as gqlgen. (#1172)
* Bump golang from 1.23-bookworm to 1.24-bookworm

Bumps golang from 1.23-bookworm to 1.24-bookworm.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update to use `go tool`, see https://go.dev/doc/go1.24#go-command.

* Update go.mod to go 1.24

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 18:45:30 +01:00
Kostiantyn
b93d48f94e Bump gqlgen and gqlparser to the latest versions (#1166)
Co-authored-by: Konstantin Koval
2025-02-02 20:51:17 +02:00
Kostiantyn
bdb2aef669 Bump gqlgen, copy, crypto, mint, sys deps to the latest versions in API (#1156)
Co-authored-by: Konstantin Koval
2025-01-19 21:53:50 +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
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
Googol Lee
772129dbeb Remove continue-on-error: true because it hides errors. (#1129)
* Add test for the workflow.

* Remove continue-on-error.

* Remove always failing test.

* Fix the hidden failure.

* Regenerated.
2024-11-19 19:03:19 +01:00
Googol Lee
7b69f247d3 Fix gqlgen (#1105) 2024-11-02 17:05:29 +01:00
Kostiantyn
dd90d476ad Refactoring part 2.4: Long func refactoring in graphql/resolvers (#1076)
* Split long functions and optimize code

* Addressing comments

* Remove unnecessary input param

---------

Co-authored-by: Konstantin Koval
2024-10-11 12:31:49 +03: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
adfcf33e79 Write tests for searching 2021-09-02 18:09:37 +02:00
viktorstrate
ba16fc1caa Fix postgres errors + fix search results without thumbnails
This closes #241
2021-03-12 14:26:51 +01:00
viktorstrate
a4f5d26197 Fix search 2021-01-26 14:34:28 +01:00
viktorstrate
d815472458 Simplify search query a little 2020-12-19 09:45:43 +01:00
stz184
e5cb91532a implicitly join on the Album table 2020-12-19 01:07:43 +02:00
stz184
3ce4ab02cc Migrated the search to gorm 2020-12-19 00:50:29 +02: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
e42ac2436b Replace database, resolve all build-time errors 2020-11-28 21:29:31 +01:00
viktorstrate
df80802cab Huge refactor: rename photo to media
To prepare for video support

Migrate database rename tables and columns:
- photo to media
- photo_url to media_url
- photo_exif to media_exif

- Update api accordingly
2020-07-10 14:26:19 +02:00
viktorstrate
a5fc15af45 Fix security bug regarding search
...that let users search for albums and photos made by other users
2020-03-05 20:46:50 +01:00
viktorstrate
c30f5a833a Add search resolver to api 2020-03-05 11:53:42 +01:00