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
Kostiantyn
0d69d5584e
Refactor auth.go and media.go to remove deprecated dependencies ( #1128 )
...
* Refactor `auth.go` and `media.go` to remove deprecated dependencies
* Move the `text` dependency to direct ones in the `go.mod`
---------
Co-authored-by: Konstantin Koval
2024-11-20 21:55:14 +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
Googol Lee
84c642ca79
Fix gqlgen code ( #1099 )
2024-10-23 20:40:14 +02: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
e66a9199a1
Add timeline resolver tests
2021-09-27 20:23:10 +02:00
viktorstrate
69bf8a01c4
Add date filter to timeline + fix #302
2021-09-25 17:11:54 +02:00
viktorstrate
56dfedd522
WIP: Work on new timeline
2021-09-18 20:17:24 +02:00
viktorstrate
521b121613
Hide faces from frontend if disabled
2021-08-31 12:05:46 +02:00
viktorstrate
b022a13e55
Batch exiftool runs + scanner package restructuring
2021-05-06 22:01:48 +02:00
viktorstrate
6693cb589c
Fix incorrect media type resolver func
2021-04-27 20:31:15 +02:00
viktorstrate
1029b61a4c
Fix faces not getting scanned
...
- This fixes #344
- Add integration tests for face recognition
- Properly check that the user own the queried album
2021-04-26 12:21:15 +02:00
viktorstrate
8e8abe7d37
Replace all gorm .Scan() calls with .Find()
...
if the argument is a model. This ensures that the proper gorm hooks are
called which was causing the full screen view on the Places page to
crash.
Also fixed a bug in Messages.js that caused a crash.
2021-04-15 16:27:26 +02:00
viktorstrate
3d9ae530af
Load shared albums recursively
...
This solves #143 and #229
2021-03-03 15:55:55 +01:00
viktorstrate
de46f89f5d
Show face circles in sidebar
2021-02-16 17:13:08 +01:00
viktorstrate
926aa3de3d
Cleanup graphql schema, and general refactoring
...
- Separate graphql `filter` into `paginate` and `order`
- Remove GalleryGroups, replaced by TimelineGallery
- Fix Apollo cache such that sorting works again
2021-02-13 15:08:05 +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
54a83a4dc6
Make thumbnails optional
...
to prevent app from crashing when in the middle of scanning
2021-02-07 18:13:08 +01:00
András Maróy
be83849bee
Implement postgres support
2021-01-31 17:07:29 +01:00
stz184
f723bda7c5
Fixes photoview/issues#168
...
- Migrated mediaGeoJson resolver to GORM
- Fixed issue loading media list in MediaList() function
- Fixed typo in the column "gps_lonitude" (renamed to "gps_longitude")
2021-01-29 01:23:40 +02:00
viktorstrate
fbebb13d28
Don't transcode web compatible video formats.
...
This relates to the following issues #131 #169 #173
2021-01-27 18:00:37 +01:00
viktorstrate
c88b8ed873
fix bug regarding thumbnail urls
2021-01-22 22:36:58 +01:00
viktorstrate
5e137392e1
avoid unnecessary sql queries
2021-01-22 09:35:54 +01:00
viktorstrate
de35a06014
Add db resolver for media.exif
2021-01-19 16:46:15 +01:00
viktorstrate
59048c8416
Fix various small errors regarding database change
...
- Fix media sidebar
- Fix Albums page
- Fix media and album shares
2021-01-02 23:07:44 +01:00
viktorstrate
aeb05bca49
get initial scanner up and running
2020-12-22 01:14:43 +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
092cbdb872
Migrate FormatSQL
2020-12-17 21:32:13 +01:00
viktorstrate
f0d580116b
Improve album and media resolvers
2020-12-08 16:24:08 +01:00
viktorstrate
98f13d76e6
Replace database, work on scanning
2020-11-30 21:29:49 +01:00
viktorstrate
31da5e1c07
Replace database, initial setup now works
2020-11-28 21:49:33 +01:00
viktorstrate
d3ebecc3b5
Replace database, mostly user related
2020-11-28 17:31:19 +01:00
stz184
53b323640f
Fixes viktorstrate/photoview#71
...
In order to prevent SQL injections and , reveal information about the database tables avoid passing MySQL functions as GQL sorting parameters, I refactored the FormatSQL() function.
Additionally, the old approach with using regex to filter the orderBy parameter was not effective and prevented using column.table annotations.
2020-10-13 18:27:28 +03:00
viktorstrate
b5e640c1bd
Add graphql query for getting media from an array of ids
...
- Add keyboard navigation when presenting images in map view
2020-09-27 20:52:09 +02:00
viktorstrate
020321959d
Show file size for media downloads
...
This closes #63
2020-08-11 22:34:42 +02:00