1
Fork 0
Commit Graph

18 Commits

Author SHA1 Message Date
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