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
13330c4e1b
Starting to write unit tests.
2021-09-19 20:02:52 +01:00
Peter - Ubuntu dual boot
cb397096d5
Transparent disabled buttons, but not resetting disabled state on picture change, unless sidebar is closed.
2021-09-18 21:49:28 +01:00
Peter - Ubuntu dual boot
4c995a976e
Cleaning up commented out code.
2021-09-18 20:44:59 +01:00
Peter - Ubuntu dual boot
f71cef04fa
Fixing album model and index checks.
2021-09-18 20:43:34 +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
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
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
András Maróy
be83849bee
Implement postgres support
2021-01-31 17:07:29 +01:00
viktorstrate
2c6701b4b3
Fix filtering favorites
2021-01-26 14:27:43 +01:00
viktorstrate
107da91700
Refactor handling of environment variables
2021-01-17 16:50:48 +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
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
b13873f48d
Fix error that caused infinite CPU loop
2020-12-06 16:54:19 +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
e42ac2436b
Replace database, resolve all build-time errors
2020-11-28 21:29:31 +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
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
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
4e5b5624de
Add paths for albums to the web ui
...
Only fetch album paths by authorized user
2020-03-07 17:07:01 +01:00
viktorstrate
fc4639a293
Add album path resolver
2020-03-07 16:19:27 +01:00
viktorstrate
2f97dcff0c
Improve scanner reliability
2020-02-27 16:26:53 +01:00
viktorstrate
1e115400a4
Fix sql bug and add recursive query for album thumbnails
2020-02-22 14:29:41 +01:00
viktorstrate
ce11d5201b
Improve myAlbums query
2020-02-20 17:14:11 +01:00
viktorstrate
39afd67130
Show all root albums instead of the single path
...
Improve sql connection error messages
2020-02-19 22:04:38 +01:00
viktorstrate
687b4f4f7f
Work on shares
2020-02-11 14:32:35 +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
c2a5b5d2f3
Add album resolver
2020-02-05 16:14:21 +01:00