Commit Graph

13 Commits

Author SHA1 Message Date
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
68b6a49638 Fix timeline ordering (#531) + layout fixes for AlbumBox 2021-09-26 13:42:00 +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
529444561b Fix timeline date ordering 2021-02-14 11:40:13 +01:00
viktorstrate
7c603cb4df Fix various Postgres specific errors 2021-02-14 11:04:38 +01:00
viktorstrate
1ba45dbe09 Fix SQL errors for Timeline view,
when using Postgres or Sqlite. Closes #194
2021-02-14 10:11:10 +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
viktorstrate
a9edb148f1 Start on infinite scroll pagination 2021-02-12 17:44:32 +01:00
viktorstrate
4fdb9357ea Add favorites filter for timeline 2021-02-07 17:13:27 +01:00
viktorstrate
ddd2cad1a3 Add query resolver for timeline view 2021-02-04 19:02:51 +01:00