Commit Graph

151 Commits

Author SHA1 Message Date
viktorstrate
06fd166483 Sidebar: people section + album path 2021-10-19 23:28:23 +02:00
viktorstrate
b5be84bbe4 Make mapbox map more reusable + add coordinates to exif 2021-10-03 15:36:10 +02: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
bb19d18c42 Add test for user favorite media 2021-09-27 21:20:47 +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
929da08ea2 Add UI for album downloads 2021-09-26 13:10:37 +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
612a191f6d Merge branch 'master' into improved-timeline 2021-09-25 13:50:42 +02:00
viktorstrate
fcee82367c Move album cover options from sidebar/Sharing.tsx
...to AlbumSidebar.tsx and MediaSidebar.tsx instead.

Fix API tests for Postgresql
2021-09-23 20:14:37 +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
Peter - Ubuntu dual boot
f71cef04fa Fixing album model and index checks. 2021-09-18 20:43:34 +01:00
Peter - Ubuntu dual boot
406a3575ef Reverting changes after I forgot to create a new branch for testing. 2021-09-18 20:37:59 +01:00
Peter - Ubuntu dual boot
5797db4d8c More work, needs fixing 2021-09-18 20:21:40 +01:00
viktorstrate
56dfedd522 WIP: Work on new timeline 2021-09-18 20:17:24 +02:00
Peter - Ubuntu dual boot
3fc7730c56 Beginning basic logic for face covers - adding new PreviewImageFaces field. 2021-09-18 19:10:57 +01:00
Peter - Ubuntu dual boot
4ee8040364 Working permissions (logic reused from other components), album and photo sidebars now fully functional. Will require some testing, and need to adjust for people pages. 2021-09-18 11:58:21 +01:00
Peter - Ubuntu dual boot
6408b2c0d0 Proof of concept for variable album covers - GQL playground working. 2021-09-17 15:35:01 +01:00
Peter - Ubuntu dual boot
193e05e7e0 Proof of concept for variable album covers - GQL playground working. 2021-09-17 15:33:44 +01: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
e142784267 Improve performance when testing if user owns an album
This is done by querying parent albums instead of sub-albums,
which changes the runtime from exponential to linear time.

This fixes #388
2021-08-30 21:36:45 +02:00
viktorstrate
ff3d0af513 Make Ascending the default sort direction.
This solves #366
2021-08-30 17:03:39 +02:00
viktorstrate
30d5f06591 Integrate simplified Chinese 2021-08-30 12:17:39 +02:00
Bruno Pereira
e79d6ca61e Generated types for portuguese translation 2021-08-10 00:33:09 +01:00
viktorstrate
193c57a740 Generate typescript types for chinese translation 2021-07-25 15:39:05 +02:00
viktorstrate
110cc68546 Add russian translation 2021-07-22 13:56:29 +02:00
viktorstrate
24b74c2d94 Add check that prevents deletion of sole admin user 2021-05-11 20:40:18 +02:00
viktorstrate
b022a13e55 Batch exiftool runs + scanner package restructuring 2021-05-06 22:01:48 +02:00
viktorstrate
8d2654997d Add test for routes authenticateMedia 2021-04-26 22:35:10 +02:00
viktorstrate
8539d48944 Add test for TokenFromBearer 2021-04-26 21:39:20 +02:00
viktorstrate
0a0fdeedc5 Improve user tests API 2021-04-26 21:22:28 +02:00
viktorstrate
542e5c8532 Improve scanner_album NewRootPath tests 2021-04-26 20:37:29 +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
060e2008b7 Add tests for albums, users, site_info models 2021-04-23 23:07:18 +02:00
viktorstrate
60f8a68bf6 Implement database integration tests 2021-04-23 15:10:23 +02:00
Robin Moser
8bd47c4de6 add structure for German localization 2021-04-20 01:16:39 +02:00
viktorstrate
7e4e0dd1e7 Integrate polish translation 2021-04-19 19:09:40 +02:00
viktorstrate
32f4aaa840 Integrate spanish translation 2021-04-19 13:23:21 +02:00
viktorstrate
f6f7377096 Fix bug causing mediatype to always be Photo 2021-04-17 17:51:13 +02:00
viktorstrate
6c63d3a6dd Integrate italian translation
- Add before save checks on user language, to make sure the value is
  valid
2021-04-17 12:23:02 +02:00
viktorstrate
de76360fbf Integrate swedish translation 2021-04-15 11:59:49 +02:00
viktorstrate
bf19ffc0a5 Integrate french translation 2021-04-14 12:36:16 +02:00
viktorstrate
f8cd804c3d Improve database compatibility
- Make MediaType case insensitive when saved to database
- Null check exif migrations, this might solve #300
2021-04-13 21:39:07 +02:00
viktorstrate
264ee54e7f Start on typescript transition 2021-04-12 00:14:48 +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