1
Fork 0
Commit Graph

144 Commits

Author SHA1 Message Date
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 d681d1538c Cleanup regarding video support 2020-07-12 14:31:50 +02:00
viktorstrate 0e9d37ca77 Add video metadata 2020-07-12 14:17:49 +02:00
viktorstrate 035aabb852 Add play icon to video thumbnails 2020-07-12 12:10:14 +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 aafcd64c23 Fix image preview aspect-ratio in sidebar 2020-07-02 22:08:11 +02:00
viktorstrate c915b7741f Use relative font-size unit
For improved accessibility
2020-07-02 21:56:28 +02:00
viktorstrate ed7fa5249c Present downloads in a table 2020-07-02 21:17:57 +02:00
viktorstrate 26198d30e5 Add optimistic response for markFavorite 2020-06-19 15:56:04 +02:00
viktorstrate 9b6c9c3bd8 Favorite styles 2020-06-19 15:46:56 +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 66b54a97f4 Add dimmer css and change dimmer opacity
- This solves a bug where clicking on "Change password"
would make the popup layout incorrectly
2020-06-15 17:26:52 +02:00
viktorstrate afe8694845 Update npm dependencies 2020-06-15 17:12:16 +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 f6f6eb8bfa Prepare back-end for token password 2020-06-14 18:02:46 +02:00
viktorstrate bbb6e2eca2 Add set password from share dropdown in sidebar 2020-06-14 15:07:07 +02:00
viktorstrate abfcea9072 Fix bug: "Public shares" -> "more" button didn't show up
This fixes #47
Some more semantic-ui css files are addedthat wasn't imported automatically (see https://github.com/skleeschulte/babel-plugin-transform-semantic-ui-react-imports/issues/1)
2020-05-29 19:53:27 +02:00
viktorstrate 0754e600b7 Make EncodeImageJPEG a method of EncodeImageData 2020-05-14 15:17:23 +02:00
viktorstrate 59de859d50 Limit width of very wide images to avoid horizontal overflow
This fixes #45
2020-05-13 12:28:58 +02:00
viktorstrate 813190751f Add apple ios metadata 2020-05-12 12:09:55 +02:00
Viktor Strate Kløvedal b0a2eb58e4
Reduce bundle size (#44)
* Greatly reduce semantic ui bundle size by only including components and css that are used

* Implement debounce manually instead of lodash/debounce
2020-05-11 16:30:08 +02:00
viktorstrate 25433ad310 Add webmanifest with logo 2020-05-10 19:19:22 +02:00
viktorstrate 1b751bcca6 Minot layout improvements 2020-05-10 18:06:28 +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 afd58ffa66 Prettier avoid parenthesis 2020-05-08 18:28:26 +02:00
viktorstrate f5bce0dda1 Improve present view history state 2020-05-08 18:27:19 +02:00
viktorstrate e7698f02fc Hide navigation when mouse is inactive for 2s 2020-05-08 17:50:45 +02:00
viktorstrate a3ea298d29 Add svg icons, use svgr to inline svg 2020-05-08 17:13:13 +02:00
viktorstrate 0b2aa5b64a Hook up functionallity for present buttons 2020-05-08 17:13:13 +02:00
viktorstrate 49bf71f165 Refactor present view 2020-05-08 17:13:13 +02:00
viktorstrate 05ecaa1eee Cleanup readme + add badges 2020-05-06 22:27:10 +02:00
viktorstrate 9f5384e353 Add defaults for API_ENDPOINT and UI_PUBLIC_URL 2020-04-30 14:36:55 +02:00
dependabot[bot] 8beaac991e
Bump jquery from 3.4.1 to 3.5.0 in /ui (#38)
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-30 14:08:42 +02:00
viktorstrate 931b558357 Run npm audit fix 2020-04-23 22:03:35 +02:00
viktorstrate 60ea47d5a5 Fix some styled components
... that were created dynamically
2020-04-23 21:57:34 +02:00
viktorstrate c4413c2d09 Update ui dependencies 2020-04-23 21:55:24 +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 b4676af3c1 Rewrite environment variable configurations 2020-04-06 22:16:25 +02:00
viktorstrate 48520a7d2d Further work on single docker container
- Add proper .dockerignore
- Fix photo prefix
- Print public endpoint when server starts
- Discard API_LISTEN_PORT
2020-04-05 18:54:13 +02:00
viktorstrate 48e2fd66a4 Merge remote-tracking branch 'origin/master' into prefix 2020-04-05 18:44:06 +02:00
dependabot[bot] 336d255834
Bump acorn from 5.7.3 to 5.7.4 in /ui (#19)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 21:18:19 +01:00
viktorstrate 80cee8b194 Update dependencies
...and pre-compile graphql queries with babel
2020-03-07 18:12:23 +01:00
viktorstrate d669124367 Remove fixed height for album titles 2020-03-07 17:18:39 +01:00