Commit Graph

19 Commits

Author SHA1 Message Date
marc7s
d1636fb7ea Fix album page being empty for users with overlapping paths (#1159)
* Fix album page being empty for users with overlapping paths, closes #658

* Add test for non root album paths

* Add basic test for non root album path
2025-03-11 18:01:50 +02:00
Kostiantyn
5fc8feb75e Refactoring part 2.3: Long func refactoring in graphql/models (#1075)
* Split long functions and optimize code

* 2 more small files

---------

Co-authored-by: Konstantin Koval
2024-10-08 21:10:34 +03:00
Kostiantyn
d1193c5ca4 Refactoring part 1: Fix some annoying linter warnings in API code (#1064)
* names, constants of reusable strings, removed unneeded `if`, replaced deprecated imports

* more deprecated imports replaced

* What is this?))

* Fix a path and quote a var in Dockerfile

* Addressing review comments

---------

Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-09-30 14:45:02 +02:00
Googol Lee
ddacba85db Fix timeline order with sqlite3. It should be ordered as MySQL and PGSQL like (year, month, day). (#954) 2024-05-31 09:35:41 +01:00
viktorstrate
a24f2ef019 If possible expand root album, write tests 2022-02-07 19:41:44 +01:00
viktorstrate
12085698c8 Refactoring + disable cleanup tests for sqlite 2021-11-06 15:41:25 +01:00
viktorstrate
f6cc86d75a Fix bug 2021-09-30 16:05:23 +02:00
viktorstrate
d060ee9fd9 Write failing test for bug 2021-09-29 11:20:15 +02:00
viktorstrate
c977f076db Fix timeline for sqlite 2021-09-27 21:26:30 +02:00
viktorstrate
00e436a518 Add tests for album path 2021-09-27 20:59:41 +02:00
viktorstrate
c7865a94e4 Fix problem with postgres for MyTimeline action 2021-09-27 20:43:26 +02:00
viktorstrate
e66a9199a1 Add timeline resolver tests 2021-09-27 20:23:10 +02:00
viktorstrate
80c2019b3f Protect download routes 2021-09-26 12:02:53 +02:00
viktorstrate
69bf8a01c4 Add date filter to timeline + fix #302 2021-09-25 17:11:54 +02:00
viktorstrate
b52e72b244 Move some album resolvers to actions, refactor album tests
- Album resolvers has been refactored to make it easier to test, this is
done by converting some of the resolvers to actions.

- The album tests has been rewritten (and simplified) to accommodate the changes.
2021-09-23 19:59:40 +02:00
viktorstrate
5eb4bf83f3 Fix bug where search would be case sensitive when using PostgreSQL 2021-09-02 18:20:10 +02:00
viktorstrate
adfcf33e79 Write tests for searching 2021-09-02 18:09:37 +02:00
viktorstrate
24b74c2d94 Add check that prevents deletion of sole admin user 2021-05-11 20:40:18 +02:00
viktorstrate
8d2654997d Add test for routes authenticateMedia 2021-04-26 22:35:10 +02:00