Stefan Forstenlechner
e28475c5aa
Move images to another folder
...
server handles requests correctly by redirecting either to FE or
handling the request. I could not find a proper way to do that for the
client. So lets just avoid using folder names that are API paths
2024-08-15 20:34:20 +02:00
Stefan Forstenlechner
0ae8a1f257
improve styling
2024-08-15 20:34:20 +02:00
Stefan Forstenlechner
a82441d671
split between api and html router
...
also fix set-environment
2024-08-15 20:34:20 +02:00
Stefan Forstenlechner
59d12418ff
replace react-photo-album with mui image list
2024-08-15 20:34:20 +02:00
Stefan Forstenlechner
a71a763532
fix env transformation during runtime
2024-08-15 20:34:19 +02:00
Stefan Forstenlechner
210cd74155
migrate to vite + update dependencies
2024-08-15 20:34:18 +02:00
Stefan Forstenlechner
5b3f77c794
update server versions
2024-08-12 12:18:53 +02:00
Stefan Forstenlechner
6fe5c0b241
fix expanded folder on load
2022-09-18 18:18:41 +02:00
Stefan Forstenlechner
7e7b24d084
turn off vignette with the newest version of lightbox
...
see https://github.com/igordanchenko/yet-another-react-lightbox/issues/14
2022-08-08 20:07:52 +02:00
Stefan Forstenlechner
dee47d5e6b
integrate lighthouse
...
update some libraries so that the lighthouse imports are recognized
correctly by eslint
2022-08-08 17:34:32 +02:00
Stefan Forstenlechner
09ff5ff5e7
Add test for securityChecks
...
Only covers simple cases. Administrator is responsible to secure that
the user that runs the webserver is not allowed to access files that
are not within the shared folder.
Add jest to picture-gallery-server
2022-06-18 16:03:14 +02:00
Stefan Forstenlechner
f9df91cbc8
Improve setup with top level package.json
...
that can install or run client and server with a single command
2022-06-02 20:58:30 +02:00
Stefan Forstenlechner
2ecdb07d65
Reduce docker image size
2022-05-28 13:24:43 +02:00
Stefan Forstenlechner
42799389b5
Responsive layout with temporary and permanent Drawer
...
"Clipped under the app bar" drawer did not work well on small screens
2022-05-27 23:36:19 +02:00
Stefan Forstenlechner
3e93dbcd75
Change layout to "Clipped under the app bar"
...
To avoid lag of PhotoAlbum component due to many re-renderings of the
layout during transition of opening/closing of drawer
2022-05-27 22:40:12 +02:00
Stefan Forstenlechner
e81e81bd5c
Improve big pictures
2022-05-27 00:24:19 +02:00
Stefan Forstenlechner
ff0d3f676e
Show original image in big picture mode
2022-05-26 23:06:24 +02:00
Stefan Forstenlechner
1d038f84a2
Add some sensible sorting
2022-05-26 23:05:48 +02:00
Stefan Forstenlechner
30a21e820d
Extract a method and add some typings
2022-04-29 21:29:34 +02:00
Stefan Forstenlechner
53e0e9bd1f
Add security check to avoid access violations
...
In case of malicious users double check paths, so that they are not able
to traverse outside of the image directory.
2022-04-29 21:14:38 +02:00
Stefan Forstenlechner
a7c4a17ecc
Better error handling
...
Remove `image-size` dependency as sharp covers the needed functionality.
2022-04-25 23:31:17 +02:00
Stefan Forstenlechner
6513cd7d76
Fix docker build
2022-04-25 22:40:23 +02:00
Stefan Forstenlechner
b9bad2b1fd
Move some devDependencies back to dependencies
...
as the Dockerfile does not yet use a multistage build and those
dependencies are currently needed for the build
2022-04-24 21:20:01 +02:00
Stefan Forstenlechner
100b67ea3b
Add some description for favicon configuration
2022-04-17 16:53:04 +02:00
Stefan Forstenlechner
705dcd2429
Add Overlay/Backdrop for single images
2022-04-17 16:50:35 +02:00
Stefan Forstenlechner
416298e673
Simple error handling in ImageGalleryLayout
...
Cannot use react-query at the moment as react 18 is not supported yet.
2022-04-17 16:22:03 +02:00
Stefan Forstenlechner
316b3205ab
Make it possible to change title and favicon
...
Cannot change title and favicon on build, to allow to change the
variables with --env-file when creating a docker container
2022-04-17 16:21:48 +02:00
Stefan Forstenlechner
0b910e1ac5
use winston logger in app
2022-04-17 16:21:48 +02:00
Stefan Forstenlechner
76632cea0b
Use `node` user rather than root within Dockerfile
2022-04-17 16:21:48 +02:00
Stefan Forstenlechner
2923e1b373
Catch incorrect path exceptions and add logging
2022-04-17 16:21:44 +02:00
Stefan Forstenlechner
71711bb698
Set max-age and expire header for caching
2022-04-17 14:12:13 +02:00
Stefan Forstenlechner
48bec4752a
Fix versions and move devDependencies to correct section
2022-04-17 14:10:30 +02:00
Stefan Forstenlechner
cad692b9db
eslint ignore unused variables with underscore prefix
2022-04-17 14:09:57 +02:00
Stefan Forstenlechner
e96bd7c25e
Fix orientation when creating thumbnails
...
- use minimum size as well as percentage
2022-04-10 23:08:02 +02:00
Stefan Forstenlechner
c5a7999c1a
Do not recreate thumbnails on every startup
2022-04-10 21:46:40 +02:00
Stefan Forstenlechner
1034df02f2
First thumbnail attempt
2022-04-10 20:49:19 +02:00
Stefan Forstenlechner
b6ddbfb92b
Decode URI
2022-04-10 17:56:46 +02:00
Stefan Forstenlechner
8299fd24ec
Consider orientation
2022-04-10 17:40:47 +02:00
Stefan Forstenlechner
8eef6da351
Minimum content for README
2022-04-10 13:36:51 +02:00
Stefan Forstenlechner
9c34014655
Use .env file dynamically
2022-04-10 13:09:11 +02:00
Stefan Forstenlechner
20300f4669
Use .env file
2022-04-09 21:10:50 +02:00
Stefan Forstenlechner
ce843a52db
some more pictures
2022-04-09 21:00:17 +02:00
Stefan Forstenlechner
81df528399
formatting done
2022-04-09 20:59:59 +02:00
Stefan Forstenlechner
a50dbd0d36
server format commit
2022-04-09 20:36:52 +02:00
Stefan Forstenlechner
952d4dc68e
format commit
2022-04-09 20:26:42 +02:00
Stefan Forstenlechner
10431fdede
temp commit
2022-04-09 19:53:20 +02:00
Stefan Forstenlechner
809cae0fee
initial commit
2022-04-09 13:30:58 +02:00