viktorstrate
6e2773cc65
Add UI for multi root users
2020-12-27 22:33:11 +01:00
viktorstrate
96546f6556
Add resolvers for user albums and root_albums
2020-12-27 20:07:54 +01:00
viktorstrate
aeb05bca49
get initial scanner up and running
2020-12-22 01:14:43 +01:00
viktorstrate
364521958b
Fix site_info, replace ID type in graphql queries
2020-11-30 16:42:13 +01:00
viktorstrate
d7ed03ca4f
Fix bug where setting share password would print error
...
This solves #133
2020-11-17 17:01:29 +01:00
stz184
9d25d3d89d
Migrated InitialSetupPage.js to functional component with hooks
...
Fixed issue checking the initial setup status on LoginPage
2020-11-16 22:46:42 +02:00
stz184
a0f7b4b135
The following components are migrated to apollo hooks instead of deprecated <Query> and <Mutation> components:
...
- AddUserRow.js
- AlbumGallery.js
- UserRow.js
LazyPhoto is migrated to functional component
2020-11-15 01:25:21 +02:00
stz184
d5e21f6a5e
Moved refetch declaration before its use
2020-11-06 09:56:27 +02:00
stz184
d03525d315
AlbumSidebar, AuthorizedRoute, LoginPage are now using hooks instead of the deprecated Query component
2020-10-31 23:50:08 +02:00
stz184
f76c3e4e0d
AlbumPages is now using useQuery hook instead of <Query> component
2020-10-30 15:54:09 +02:00
stz184
9e1a3464eb
AlbumsPages is migrated to a functional component
2020-10-30 15:24:35 +02:00
viktorstrate
7029e6642e
Add more ui tests for share page
2020-10-27 12:53:18 +01:00
viktorstrate
82925396a3
Add first UI test
2020-10-27 00:22:08 +01:00
viktorstrate
db9d64d948
Migrate to apollo v3
2020-10-26 22:55:04 +01:00
viktorstrate
d2b2537346
jest setup
2020-10-26 22:06:53 +01:00
viktorstrate
a3eab5db74
Add Layout to AlbumSharePage to prevent page from crashing
...
- When Layout was removed from AlbumGallery, it wasn't added back in on the AlbumSharePage
2020-10-26 11:10:38 +01:00
stz184
1f3fe5fe0d
Fixes viktorstrate/photoview#71
...
- Added URL parameters for order column and order direction
- forceCheck() is called when the loading is complete in order to display photos that may have been outside the viewport but are visible now because of changed ordering
- Moved the label of Favorites toggle to the left for consistency
2020-10-26 02:38:44 +02:00
stz184
f18e9be81a
Fixes viktorstrate/photoview#71
...
Added a separate order direction button
2020-10-16 17:44:34 +03:00
stz184
cbedf16eac
Fixes viktorstrate/photoview#71
...
Prevent unnecessary rerenderings when different sorting is applied on an album's page
2020-10-15 14:47:51 +03:00
stz184
55885ddb65
Fixes viktorstrate/photoview#71
...
- Performance optimizations - restructured the code so no necessary Layout and AlbumFilter component rerenderings are made.
2020-10-15 14:33:02 +03:00
stz184
9a5127b7a4
Fixes viktorstrate/photoview#71
...
- To keep things simple and follow the single-responsibility principle, I decided to move the logic for favorites checkbox and sorting dropdown to a new component instead of adding non-relevant functionality to AlbumTitle.
- Added sorting dropdown
2020-10-13 18:49:46 +03:00
viktorstrate
6e2d5032ee
Rewrite PhotosPage with react hooks
2020-10-01 22:19:40 +02:00
viktorstrate
335ee3ebe2
Cleanup ui files
2020-09-27 22:50:27 +02: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
db64d3eb1b
Merge branch 'master' into geographic-map-page
2020-09-27 20:08:43 +02:00
Viktor Strate Kløvedal
a0ee666616
Merge pull request #76 from stz184/favorites-checkobox-on-photos-and-album-page-viktorstrate/photoview#6
...
Fixes viktorstrate/photoview#6
2020-09-27 18:34:46 +02:00
viktorstrate
1b55caa0a2
Disable places page when mapbox token isn't defined
2020-09-27 18:18:30 +02:00
viktorstrate
539b1c1245
When map marker is clicked a present view is shown
2020-09-27 17:54:50 +02:00
viktorstrate
c73c962fc3
Show media with thumbnail on map
2020-09-27 16:20:55 +02:00
stz184
cd0d9d811c
Fixes viktorstrate/photoview#6
...
- Removed unused methods from PhotosPage component
2020-09-27 17:17:31 +03:00
stz184
abc0bc54d5
Fixes viktorstrate/photoview#6
...
- Used useCallback to improve the performance
2020-09-27 16:58:26 +03:00
stz184
df973c3992
Fixes viktorstrate/photoview#6
...
- Replaced pushState with replaceState
- Fixed issue that caused problems navigating to album's favorites page
2020-09-27 16:17:58 +03:00
viktorstrate
0a314b8e1d
Add geojson graphql endpoint, work on mapbox
2020-09-27 00:46:01 +02:00
viktorstrate
41febdb180
Start on map page web ui
2020-09-26 21:19:47 +02:00
stz184
85a8dbedb0
Fixes viktorstrate/photoview#6
...
- Fixed issue that prevented favorites toggle to switch on on the Photos page
- The favorites toggle is moved on left
2020-09-26 02:18:30 +03:00
viktorstrate
467ec54797
Fix bug where reloading initial setup page,
...
would cause an exception
2020-09-25 19:16:49 +02:00
stz184
9212ac52eb
Fixes viktorstrate/photoview#6
...
- Fixed incorrect typename of the optimistic response of markFavorite()
- Added onFavorite callback to track when media is favorited
- Added logic to refetch the query when media is added/removed to favorites
2020-09-25 19:10:32 +03:00
viktorstrate
9c9807ecc9
Add admin setting to change max concurrent workers
2020-09-21 21:32:30 +02:00
viktorstrate
74f1eb26f7
Only update scan interval, when value differ
2020-09-21 12:41:58 +02:00
viktorstrate
05380354e3
Setup periodic scan background runner
2020-09-21 12:34:56 +02:00
viktorstrate
167ff4b8c4
Update periodic scanner value from UI
2020-09-21 11:50:39 +02:00
viktorstrate
28749c44ac
Start on UI for periodic scanner settings
2020-09-20 22:49:50 +02:00
stz184
75e43aae80
Merge branch 'master' of github.com:viktorstrate/photoview into favorites-checkobox-on-photos-and-album-page-viktorstrate/photoview#6
2020-09-07 13:08:25 +03:00
stz184
d7e6ab9cf3
Fixes viktorstrate/photoview#6
...
- Added favorites toggle on both Album and Photos page
- When the favorites are viewed, the URL changes
- Removed unused variable activeImage
- Added match.params propTypes to AlbumPage component
2020-09-07 13:04:14 +03:00
viktorstrate
6193197c71
Improve photo ui rendering
2020-08-15 14:09:47 +02:00
viktorstrate
c9216a4d79
General cleanup
2020-08-15 13:00:46 +02:00
viktorstrate
21f66b9e62
Use cookie based auth for shares with password
2020-07-13 17:51:53 +02:00
viktorstrate
f669812efb
Use cookies for authentication instead of header
...
This replaces the current implementation
where a bearer header holds the auth-token.
Now the same token is being sent using a cookie instead.
This greatly simplifies fetching resources (images and video),
since the header is sent along implicitly with each request.
2020-07-12 18:52:48 +02:00
viktorstrate
bfa37a0174
Cleanup sidebar context; fix share media page
2020-07-12 11:54:16 +02:00
viktorstrate
b34115cab0
Start on video integration with web ui
2020-07-11 16:42:27 +02:00
viktorstrate
cacfb5edde
Fix share pages
2020-07-10 18:35:37 +02: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
7686563b28
Implement photo favorite for album pages aswell
2020-06-19 15:38:27 +02:00
viktorstrate
b289b25e34
Start on photo favorite
2020-06-17 18:00:58 +02:00
viktorstrate
fef27c5640
Add login page for protected shares
2020-06-14 20:56:48 +02:00
viktorstrate
79be996985
Detect if share token is password protected
2020-06-14 18:28:12 +02:00
viktorstrate
109dc134ae
Add logo to header
2020-05-10 18:00:49 +02:00
viktorstrate
7953ca5f1e
Add logo to login page
2020-05-10 17:52:45 +02:00
viktorstrate
7eff9ded4d
Uninstall svgr parcel dependency
2020-05-10 17:50:31 +02:00
viktorstrate
05644d02b9
Add fullscreen event to browser history ( #35 )
...
- Also clean up old unused browser history code
2020-04-23 21:02:55 +02:00
viktorstrate
67fabd1de4
Fix graphql query for share pages
...
Properly close rows in scanner
2020-02-29 09:21:41 +01:00
viktorstrate
1f5f367442
Limit total shown albums on photos page
2020-02-24 09:36:31 +01:00
viktorstrate
1dc2221524
Add change password support
2020-02-22 14:05:33 +01:00
viktorstrate
e00a5553f7
Add download support
2020-02-21 22:42:39 +01:00
viktorstrate
39dd89eec2
Secure public photos with the "public token"
2020-02-21 12:05:28 +01:00
viktorstrate
ce11d5201b
Improve myAlbums query
2020-02-20 17:14:11 +01:00
viktorstrate
a505d28f00
Fix scan user ui mutation
2020-02-19 22:17:17 +01:00
viktorstrate
97b0bd2852
Add title tag
2020-02-19 22:14:59 +01:00
viktorstrate
34729c763f
Improve messages
2020-02-16 16:52:00 +01:00
viktorstrate
a87e9fc56d
Add user management to api
2020-02-16 12:22:00 +01:00
viktorstrate
0f7f703982
Further work on shares
2020-02-11 15:36:12 +01:00
viktorstrate
687b4f4f7f
Work on shares
2020-02-11 14:32:35 +01:00
viktorstrate
6e72caf2f0
Improve integration with ui
2020-02-10 12:05:58 +01:00
viktorstrate
a3a4dda286
Work on share tokens
2020-02-09 21:25:33 +01:00
viktorstrate
963acf11e8
Add album thumbnail to graphql
2020-02-09 16:16:41 +01:00
viktorstrate
e6593ee7f3
Working on integrating backend with ui
2020-02-09 15:26:59 +01:00
viktorstrate
13f758a18b
Update dependencies
2020-01-19 22:25:03 +01:00
viktorstrate
2a58f0b5ab
Secure graphql endpoint
...
add option to scan individual users photos
2019-08-23 22:14:12 +02:00
viktorstrate
e5688bdee8
Improve scanner
2019-08-21 18:20:43 +02:00
viktorstrate
4d563f3815
Publicly shared albums now share nested albums too
2019-08-20 16:01:57 +02:00
viktorstrate
bafb33cf43
Work on sharing
2019-08-17 22:46:18 +02:00
viktorstrate
6d998a392f
Add prop types and fix eslint issues
2019-08-16 14:02:01 +02:00
viktorstrate
7c2e0df707
Improve sidebar
2019-08-15 19:00:06 +02:00
viktorstrate
c6fcba4083
Completely change sidebar structure + Further work towards sharing
2019-08-15 18:32:49 +02:00
viktorstrate
54f5750ab5
Work on sharing + some security hardening
2019-08-14 23:57:07 +02:00
viktorstrate
ddf06e3073
General ui improvements
2019-08-14 17:48:08 +02:00
viktorstrate
50bdc86ab0
Secure photos with header, rather than cookies. Now docker-compose works
2019-08-09 17:41:25 +02:00
viktorstrate
999d5fa321
Add change password option for admins
2019-08-01 22:58:33 +02:00
viktorstrate
ab278a5a99
Add user management in settings
2019-07-31 16:23:25 +02:00
viktorstrate
e0f6d8fa0b
Add settings panel
2019-07-31 12:30:00 +02:00
viktorstrate
94cf41155b
Add lazy routes + refactoring
2019-07-31 11:41:42 +02:00
viktorstrate
01b90b2fa0
Add initial setup wizard
2019-07-31 00:55:48 +02:00
viktorstrate
54929d6739
Preload images in present view
2019-07-30 00:04:40 +02:00
viktorstrate
c70cc402b0
Add docker support
2019-07-29 23:39:38 +02:00
viktorstrate
5e41e4d34d
Add next/previous keybindings in present view
2019-07-29 18:06:53 +02:00
viktorstrate
3cc8b4b5cb
Start on present view
2019-07-25 00:53:50 +02:00
viktorstrate
53415714c2
Add EXIF to sideview
2019-07-24 20:56:15 +02:00
viktorstrate
fc87fabab5
Improve photos page
2019-07-23 23:10:18 +02:00
viktorstrate
7c714449f9
Add sorting and filters
2019-07-23 22:38:41 +02:00
viktorstrate
3560c2cae8
Enable graphql filtering
2019-07-23 18:37:13 +02:00