summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-25Disable automatic image rotation in browser and fix our own transformsHEADmasterJoel Klinghed
When I implemented the initial transformations I did not test them all, and also did not know that the default for a long time has been to auto-rotate images per EXIF in the browser so the poor images got rotated twice. Used example images from https://github.com/recurser/exif-orientation-examples to make sure to check all rotations this time.
2024-02-25travels3: Always show help if "--help" is setJoel Klinghed
2024-02-25Add a dump-image utilityJoel Klinghed
Just shows what data we extracted from an image, good for debugging. Make it clear that travels-server is to be installed and dump-image is not.
2024-02-25Add missing includesJoel Klinghed
Code compiled earlier because of implicit includes but libc++ has been cleaning that up.
2022-12-10Avoid unused warnings for parameters only used in assertsJoel Klinghed
2022-12-10Use modern openssl hash methodsJoel Klinghed
The old ones was marked as deprecated in openssl 3.0.0 but the replaments have been in openssl since 1.1.0.
2022-08-20Add missing includeupstreamJoel Klinghed
2021-11-28Fix building tests in releaseJoel Klinghed
2021-11-26Create daemon module and use it from serverJoel Klinghed
Need to run setup() after forking, otherwise each TaskRunner created in setup() will dead-lock at exit as there are now two copies of each of them but not of the threads causing the destructors to lock. This made setup a little bit more complicated as it has to forward the log and status to parent process but I turned out quite nice.
2021-11-25Avoid using temporary string as ident to syslogJoel Klinghed
2021-11-25Write caught signals to info logJoel Klinghed
2021-11-23Make config keep the absolute root to load relative files fromJoel Klinghed
This means Config::get_path will continue to work even if we change current directory in the process (when the path the config was loaded from was relative).
2021-11-23Avoid warnings in logger.hh when NDEBUG is definedJoel Klinghed
2021-11-23Sort trips by yearJoel Klinghed
2021-11-23Ignore media in backup directoryJoel Klinghed
2021-11-23Improve thumbnails by keeping aspect ratio.Joel Klinghed
Not using scale-down as that would show backgrond placeholder in some cases.
2021-11-23Fix Shift+D keyboard shortcut for downloadJoel Klinghed
Onyl Shift+D and not just D should trigger download and the download link doesn't have an onclick.
2021-11-23Break out close function from close element onclickJoel Klinghed
2021-11-23Add close button on trip indexJoel Klinghed
2021-11-23Change pri-order for exit datesJoel Klinghed
Date time can be when the image was last modified while orginal and digitized are supposed to be at the time of creation.
2021-11-23Avoid quirks mode by specifying doctype htmlJoel Klinghed
2021-11-18travel: Improve trip location estimation by removing outliersJoel Klinghed
Outlier value (> 1.43 Z-score) based on what was needed for a trip I took long ago. Will have to fiddle with the value I assume.
2021-11-18site & transport: Make sure to url escape Location headerJoel Klinghed
2021-11-18send_file: Make sure send file header value contains the right amount of slashesJoel Klinghed
2021-11-18mime_types: Make extension lookup case-insensitiveJoel Klinghed
Not all extensions are but for image and video I know of none that are case sensitive.
2021-11-18image: Add support for newer exif date time tagsJoel Klinghed
2021-11-18Use svg images for download and location actions in viewerJoel Klinghed
2021-11-18strutil: Add to_lower_asciiJoel Klinghed
2021-11-17Be more international in exampleJoel Klinghed
2021-11-17Add example nginx config snippetJoel Klinghed
2021-11-17Travel3: Simple image and video display siteJoel Klinghed
Reads the images and videos from filesystem and builds a site in memroy.