Stefan Forstenlechner
1be821b8cb
No need to set `loading={"lazy"}`
...
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m21s
Details
as react-photo-album has it in the props anyway
2024-08-22 12:00:53 +02:00
Stefan Forstenlechner
da273cbc87
Cleanup ImageGalleryDrawer
...
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m10s
Details
Move pathname related functions in pathnames.ts
2024-08-21 23:04:26 +02:00
Stefan Forstenlechner
4da3376d5f
Fix lazy loading (Firefox)
...
see https://bugzilla.mozilla.org/show_bug.cgi?id=1647077
`loading` attribute needs to be before `src` attribute
2024-08-21 22:54:32 +02:00
Stefan Forstenlechner
fc32dd79cc
Refactor ImageGalleryLayout
...
Split out main component
Move useEffect to corresponding component
2024-08-21 21:50:26 +02:00
Stefan Forstenlechner
111dee8e7e
Reorder fetch requests/useEffect
...
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m9s
Details
directories need to be loaded first as it is a main element that never
changes and is always displayed
folder previews are shown above images and should therefore be loaded
before images
2024-08-20 23:26:29 +02:00
Stefan Forstenlechner
4794f4e62b
Fix issue that thumbnails were not used
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m2s
Details
2024-08-20 23:20:11 +02:00
Stefan Forstenlechner
80f11b2539
Navigation is allowed to all folders
...
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Details
Build and publish docker image snapshot / build-and-publish (push) Has been cancelled
Details
regardless of if images are contained in a folder
Some cleanup is not done yet. See TODO
2024-08-20 23:02:23 +02:00
Stefan Forstenlechner
25d17c5cde
Revert back to react-photo-album and improve FolderGallery
...
MUI ImageList loads images one after another, which leads to loading all
images even with loading=lazy. Maybe it depends on the order in which
images are loaded, but this issue never arose with react-photo-album
FolderGallery always displays folder icons in the same way and simply
positions the image to cover the space available. This circumvents the
issue of different aspect ratios of images.
2024-08-20 22:39:42 +02:00
Stefan Forstenlechner
16c6413a45
Update/fix docker build
2024-08-19 19:18:58 +02:00
Stefan Forstenlechner
9b8d4c76fb
Remove unnecessary TODOs
...
ad responsive.ts: min with 2 columns is fine
2024-08-19 13:09:07 +02:00
Stefan Forstenlechner
02098fd2ea
migrate jest to vitest in client
2024-08-19 13:06:58 +02:00
Stefan Forstenlechner
5e860d0ea4
Use stencil to let pictures look like folders
2024-08-19 12:47:38 +02:00
Stefan Forstenlechner
30cdba8fd6
Add folders support
...
quite a few minor issues to clean up
2024-08-18 21:35:38 +02:00
Stefan Forstenlechner
77348a9323
Remove default folder
...
It looked weird having a folder shown, while loading the folder
structure
2024-08-15 20:34:20 +02:00
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
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
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
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
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
2923e1b373
Catch incorrect path exceptions and add logging
2022-04-17 16:21:44 +02:00
Stefan Forstenlechner
48bec4752a
Fix versions and move devDependencies to correct section
2022-04-17 14:10:30 +02:00
Stefan Forstenlechner
1034df02f2
First thumbnail attempt
2022-04-10 20:49:19 +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
81df528399
formatting done
2022-04-09 20:59:59 +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