1
Fork 0
Commit Graph

154 Commits

Author SHA1 Message Date
viktorstrate cb2d806900 Hide presentation button outlines 2020-08-17 15:27:06 +02:00
viktorstrate 60f398cb94 Fix sidebar layout problems on mobile 2020-08-17 15:13:37 +02:00
viktorstrate d69d21dda3 Make sidebar hideable on mobile 2020-08-17 14:32:21 +02:00
viktorstrate 650522cc3b Fix sidebar layout problems on mobile 2020-08-17 14:09:14 +02:00
viktorstrate 4db10cddf9 Move sidebar to the bottom on mobile
- Hide photoview header text on smaller screens
2020-08-17 13:55:24 +02: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 020321959d Show file size for media downloads
This closes #63
2020-08-11 22:34:42 +02:00
dependabot[bot] 95862300c8
Bump elliptic from 6.5.2 to 6.5.3 in /ui
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-31 11:12:45 +00: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 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