1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-21 01:22:08 +02:00
Commit Graph

2398 Commits

Author SHA1 Message Date
gras
333678f6e9 Merge branch 'master' of https://github.com/grasdk/pigallery2 into bug/heic-dimensions 2024-04-09 16:35:54 +02:00
gras
988eaf7cf0 checking for isNaN rather than undefined 2024-04-09 16:35:42 +02:00
Patrik J. Braun
2e6bff1914
Merge pull request #878 from grasdk/feature/metadata-extra-refactor
removed ts-node-iptc dependency.
2024-04-09 10:58:52 +02:00
gras
28bf225419 update .gitignore 2024-04-08 18:46:03 +02:00
gras
fc88a5d2f0 delete fake file 2024-04-08 18:45:41 +02:00
gras
155d68d3e2 inserting fake file 2024-04-08 18:44:57 +02:00
gras
3583ce34df start with extra files 2024-04-08 18:39:41 +02:00
gras
d52d7c0c4d updated image-size to read dimensions from heic file 2024-04-06 00:31:11 +02:00
gras
4f326f0a81 removed ts-node-iptc dependency. Now the only metadataparser in MetadataLoader is exifr 2024-04-05 22:43:43 +02:00
Patrik J. Braun
58d8a5043b test flaky test on github 2024-04-05 18:36:40 +02:00
Patrik J. Braun
89caba6536
Merge pull request #876 from grasdk/master
Title and caption update - reapplied
2024-04-05 10:15:51 +02:00
gras
00722f1bee when combining a timestamp fix in one branch with new test date, you sometimes get surprises 2024-04-05 00:09:39 +02:00
gras
3de8c7fee9 added the rest of the test files for title and caption 2024-04-04 23:58:26 +02:00
gras
0f03c22967 re-applying the title and caption change 2024-04-04 23:53:07 +02:00
gras
ac56bff769 Merge branch 'feature/camera-metadata' of https://github.com/grasdk/pigallery2 2024-04-04 23:34:48 +02:00
Patrik J. Braun
bf776627cb
Merge pull request #875 from grasdk/feature/month-addition
Feature/month addition
2024-04-04 22:54:35 +02:00
Patrik J. Braun
0b7b7a7e48
Merge pull request #874 from grasdk/feature/timestamp-fix
Feature/timestamp fix
2024-04-04 22:51:38 +02:00
Patrik J. Braun
6e85dc4967
Merge pull request #870 from grasdk/master
Feature/caption and title (#14)
2024-04-04 22:49:26 +02:00
gras
a0c22fd481 more intuitive "x months ago"-search 2024-04-04 18:58:34 +02:00
grasdk
39e98d8314 remember to add to the diskmanager expected result, when adding a test :-( 2024-04-03 21:14:46 +00:00
gras
6019932d71 another linting fix 2024-04-03 23:00:58 +02:00
gras
8805fee063 linting fix 2024-04-03 22:56:21 +02:00
gras
7411750ffd Added a test for offset-fix and found another bug - also fixed 2024-04-03 22:50:49 +02:00
gras
f8021348db fix for the fix - forgot to run tests 2024-04-03 21:34:41 +02:00
gras
9ebd658276 Correction for Utils.timestampToMS 2024-04-03 21:20:54 +02:00
gras
7339fe676b This reverts commit 75d81d42bd. 2024-04-03 21:17:07 +02:00
gras
dbcd14f5c7 This reverts commit ae1309b011. 2024-04-03 21:17:03 +02:00
gras
7f68c827d8 This reverts commit 84928e6371. 2024-04-03 21:16:59 +02:00
gras
3b55d72e0f This reverts commit 1e50f1b2e5. 2024-04-03 21:16:55 +02:00
gras
2342be2bbe This reverts commit 893df7db74. 2024-04-03 21:16:48 +02:00
gras
cb433fe83b This reverts commit fcc123bb1b. 2024-04-03 21:16:29 +02:00
gras
fcc123bb1b reverted search manager tests 2024-04-01 18:53:32 +02:00
Patrik J. Braun
6c53aca7e7
Merge pull request #863 from sarayourfriend/fix/unify-logging
Use separate log levels for relevant error types
2024-04-01 13:10:58 +02:00
gras
d628c816da Reading camera metadata from multiple sources 2024-04-01 00:09:53 +02:00
gras
893df7db74 Adapted test data to use the new month subtract method 2024-03-31 19:50:28 +02:00
gras
1e50f1b2e5 linting error fix 2024-03-31 19:20:07 +02:00
gras
84928e6371 Change how months are subtracted in SearchManager 2024-03-31 19:15:59 +02:00
gras
ae1309b011 moved some tests, that seemed to influence indexing tests 2024-03-31 16:15:45 +02:00
grasdk
75d81d42bd
Feature/caption and title (#14)
* reading caption and title from several tags with several tests added
minor bugfix for date conversion to MS
optimization: break sidecar loop, when first sidecar is found
2024-03-31 14:57:20 +02:00
sarayourfriend
409af3898b
Narrow LoggerArgs types and fix bad revert 2024-03-31 09:45:16 +11:00
sarayourfriend
2b26b3744b
Revert "Remove duplicative logging"
This reverts commit 25fb0ddb53.
2024-03-31 09:45:16 +11:00
sarayourfriend
fcdb2f2938
Revert "Always use Logger class and try to log once per event"
This reverts commit a57a717717a676555b4e28d5746828477c2f9811.
2024-03-31 09:45:16 +11:00
sarayourfriend
b0c2f8da04
Always use Logger class and try to log once per event
This unifies logging across the backend to always use the Logger class,
always only logs to stdout (rather than an inconsistent mix of stdout
and stderr, depending on whether console.error was used), and removes
logging where two log events happened for the same message

For example, this pattern:

```js
Logger.error("Whoops, something went wrong:")
console.error(err)
```

That causes two separate log events, and depending on the log transport
used, could cause relevant log messages to get split across multiple
events and therefore be harder (usually just more tedious) to connect
and debug in production environments.
2024-03-31 09:45:16 +11:00
sarayourfriend
ba6e7c03ec
Always use Logger class and try to log once per event
This unifies logging across the backend to always use the Logger class,
always only logs to stdout (rather than an inconsistent mix of stdout
and stderr, depending on whether console.error was used), and removes
logging where two log events happened for the same message

For example, this pattern:

```js
Logger.error("Whoops, something went wrong:")
console.error(err)
```

That causes two separate log events, and depending on the log transport
used, could cause relevant log messages to get split across multiple
events and therefore be harder (usually just more tedious) to connect
and debug in production environments.
2024-03-31 09:45:16 +11:00
sarayourfriend
3be8f1b194
Remove duplicative logging
These log calls either duplicated the generic error renderer logging or neighbouring log calls
2024-03-31 09:45:16 +11:00
sarayourfriend
5c8e01c034
Configure log levels for specific error types 2024-03-31 09:45:16 +11:00
sarayourfriend
fae2980692
Remove dead code 2024-03-31 09:45:16 +11:00
sarayourfriend
7cf7febc5c
Remove duplicative logFN type 2024-03-31 09:45:16 +11:00
Patrik J. Braun
086bc47a01
Merge pull request #868 from grasdk/master
Metadata mapping and consolidation
2024-03-30 22:12:29 +01:00
gras
78fbc942b9 mediaentity rating back to unsigned 2024-03-30 22:04:07 +01:00