1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00
Commit Graph

312 Commits

Author SHA1 Message Date
Martin Kampas
1d1df01a68 Read GPS coordinates from XMP sidecar too 2024-03-22 15:44:22 +01:00
grasdk
35839ef732 test-fixing 2024-03-14 10:41:41 +01:00
Martin Kampas
6a52d84881 Add tests for reading sidecar files
Thanks grasdk for providing the .json files!

Co-authored-by: grasdk <chrisc.gigamail@gmail.com>
2024-03-13 20:03:26 +01:00
kagahd
d8c064857f
re-enable unit test that keywords from photo are merged with keywords from sidecar 2024-03-12 08:48:55 +01:00
grasdk
390e24a2c4 Added read of CreationDate to sidecar and fixed tests 2024-03-11 23:47:44 +01:00
kagahd
a2fc61320d
resolve merge conflicts for a second time due to bug in PR #829 2024-03-11 08:45:44 +01:00
kagahd
f05ee7a867
Merge branch 'master' into issue838
# Conflicts:
#	src/backend/model/fileaccess/MetadataLoader.ts
2024-03-11 08:35:14 +01:00
grasdk
59b78d0223 fixed the DiskManagerWorker test 2024-03-07 20:38:27 +01:00
grasdk
2af6115f2a
Unit test and bugfix for CreationDate (#8) 2024-03-07 09:29:44 +01:00
grasdk
f11a133f43 fix leap year searching and tests. small metadatabuffer size optimization. 2024-03-06 00:40:18 +01:00
kagahd
fb65910993
resolve merge conflicts due to PR #829 2024-03-04 12:21:39 +01:00
kagahd
0f0a66c05d
Merge branch 'master' into issue838
# Conflicts:
#	src/backend/model/fileaccess/MetadataLoader.ts
#	test/backend/unit/model/threading/MetaDataLoader.spec.ts
2024-03-04 11:55:04 +01:00
kagahd
917b738aa8
add two more unit tests 2024-02-28 18:50:19 +01:00
kagahd
8702586e9e
add unit tests 2024-02-27 18:53:53 +01:00
gras
25acd6f30d Added two more metadata dates to fall back to, instead of file date. This fixes the png-test 2024-02-11 22:35:19 +01:00
gras
a2c9208706 Fixed serious error with offset calculation. Fixed bad test-data. 2024-02-11 21:41:42 +01:00
grasdk
b2be0a9763
consolidate exif parsing libraries - rework of timestamps (#4)
* exifr is used for most tags now

* New timestamp handling, removed exif-parser, date supported for png

* Removed offset from testhelper. It's optional

* explanations

* Feature/timestamps (#3)

* preparing for further timestamp test

* Added more test and fixed offset calculation bug

* Revered old dimension test, added new timestamp tests, some bug fixes

* Renamed png-test because faces overrule keywords
2024-02-11 15:55:26 +01:00
gras
589b255d45 fixed tests 2024-02-05 23:58:34 +01:00
gras
5315e2b9bd Reverted to original version of Chars.jpg and test data which does not trigger bug #794 2024-02-05 22:57:02 +01:00
grasdk
1b579269ce
Feature/specialchars (#2)
* switched from ExifReader to exifr and updated tests to fix issue 794
2024-02-05 22:35:25 +01:00
Patrik J. Braun
13e828d210 Merge thumbnail and photo preview (generated photo) handling #806 2024-01-03 11:06:19 +01:00
Nick Kocharhook
45d9398dea Add titles to caption tests. 2023-12-06 16:40:08 +00:00
Patrik J. Braun
ba9b5292e1 Fix sharing password. fixes #744 2023-12-01 19:33:39 +01:00
Patrik J. Braun
1458faca70 Adding animated gif support #779 2023-11-26 22:47:57 +01:00
Patrik J. Braun
ee8a942e5c excluding cypress tests from mocha and refactoring node_module paths #753 2023-11-17 00:32:36 +01:00
Patrik J. Braun
a323634351 Fixing tests after adding extension manager #753 2023-11-16 23:41:05 +01:00
Patrik J. Braun
75d277040d Add basic configuring options #753 2023-11-13 16:51:25 +01:00
Patrik J. Braun
f7dba927b8 Adds main events to extension #753 2023-10-31 20:38:08 +01:00
Patrik J. Braun
538593e780 add basic extension support #753 2023-10-29 16:11:24 +01:00
Patrik J. Braun
2b0d1a96a6 remove threading #641 2023-10-14 17:54:21 +02:00
Patrik J. Braun
9747f7bcd6 tweak tests 2023-10-12 01:05:35 +02:00
Patrik J. Braun
41796e8d72 Fixing date boundary issue. fixes #660 2023-10-11 00:04:53 +02:00
Patrik J. Braun
e1ffeb0173 Fixing [] glob issue. fixes #621 2023-10-08 22:32:32 +02:00
Patrik J. Braun
768fb20397 Add await to config loading 2023-09-20 21:37:33 +02:00
Patrik J. Braun
8d22141e88 Adding object managers init to tests 2023-09-20 19:05:56 +02:00
Patrik J. Braun
c6ba505129 Add date to markdowns #711 2023-09-11 13:54:42 +02:00
Patrik J. Braun
8c083ed59b Implement youngest and oldest photo date for directories 2023-09-11 13:19:51 +02:00
GenericGuy
f04ed67205 feat: container header meta data parsing
Adds parsing of container header data, which provides correct dates
for Matroska files and also fixes the issue that the bitrate shown
in the UI reflects only the video bitrate (not video + audio bitrate).
2023-09-03 15:35:19 +02:00
Patrik J. Braun
c510283e51 Fixing backend 2023-08-30 23:35:42 +02:00
Patrik J. Braun
3c9c7e01a3 Renaming preview to cover to reduce confusion #679 2023-08-25 21:24:05 +02:00
Patrik J. Braun
4c10f9dd82 Implement basic sharing listing on UI #607 2023-08-11 17:44:51 +02:00
Patrik J. Braun
891c155cce Removing sendMail compatibility.
Our bullseye also does not support it natively. Let's just use SMTP. That makes everything simpler.

 #683
2023-08-04 00:24:43 +02:00
Patrik J. Braun
0e460d07af Add person count search and sorting support.
Note it will trigger a DB drop as the scheme changed. #683
2023-08-01 22:57:36 +02:00
Patrik J. Braun
80853771f4 Removing debug logging 2023-07-31 01:29:04 +02:00
Patrik J. Braun
b8802dbf9e moving config test path 2023-07-30 19:10:53 +02:00
Patrik J. Braun
c0cd5bb5b9 LOG lOG 2 2023-07-30 17:52:46 +02:00
Patrik J. Braun
7ff54759cd Fixing tests 2023-07-30 17:45:11 +02:00
Patrik J. Braun
b8f9dbe55f tweaking 2023-07-30 17:37:54 +02:00
Patrik J. Braun
f007037bc5 Log Log Log... 2023-07-30 17:22:47 +02:00
Patrik J. Braun
15c79ad68d Improving settingsTest #683 2023-07-30 16:11:46 +02:00
Patrik J. Braun
1df147401f Improving settingsTest #683 2023-07-30 15:45:46 +02:00
Patrik J. Braun
4ab60098e0 Improving settingsTest #683 2023-07-30 14:49:55 +02:00
Patrik J. Braun
cb8553896f Fixing settings setting tests #683 2023-07-30 14:40:54 +02:00
Patrik J. Braun
33ca2040a8 Moving sendMail checking to be only on startup #683 2023-07-30 14:06:25 +02:00
Patrik J. Braun
a408f1b24d Fixig setting and random photo test #683 2023-07-30 13:25:31 +02:00
Patrik J. Braun
015a0221c2 Fix random photo tests #683 2023-07-30 12:27:29 +02:00
Patrik J. Braun
3fb31f17a8 Adopting date pattern search to MySQL #660 2023-06-24 13:11:56 +02:00
Patrik J. Braun
5793655e8d Fixing test #660 2023-06-24 01:13:39 +02:00
Patrik J. Braun
37641ff02e Adding date pattern UI #660 2023-06-20 00:06:37 +02:00
Patrik J. Braun
a58d61f958 Fixing saved search saving test #587 2023-03-12 11:11:35 +01:00
Patrik J. Braun
b3a20cf41d Making enforced users reflect readonly state #507 2023-03-11 22:42:46 +01:00
Patrik J. Braun
7ca7451a24 Fixing DiskManagerWorker.spec.ts test #516 2023-03-05 18:49:08 +01:00
Patrik J. Braun
9f2cd38019 Adding support for metadataLoader to read ImageWidth and ImageHeight exif tags #516 2023-03-05 15:45:01 +01:00
Patrik J. Braun
65ce042278 Adding public router tests to sharing link #591 2023-01-13 11:22:49 +01:00
Patrik J. Braun
1753bad569 Removing memory DB. fixes #572 2023-01-05 23:11:58 +01:00
Patrik J. Braun
dc6407251f Fixing /Get settings test #569 2023-01-01 22:47:39 +01:00
Patrik J. Braun
0c6c18bb1c Fixing codec path #569 2023-01-01 22:09:24 +01:00
Patrik J. Braun
9c4178e508 Rewriting config structure and UI #569 2022-12-28 19:12:18 +01:00
Patrik J. Braun
9ee05c3ada Fixing face orientation on rotated photos. fixes #515 2022-12-15 00:20:58 +01:00
Patrik J. Braun
be7937293b Moving /api to /pgapi and making it configurable #214, #519 2022-12-10 00:04:08 +01:00
Patrik J. Braun
d75a307be6 Adding more indices to fields and improving SQL queries #437 2022-12-04 22:23:51 +01:00
Daya Adianto
e2f10254bc
Update the metadata on test image to match current implementation (#535) 2022-10-03 06:59:47 +07:00
Patrik J. Braun
b6b576ba2f Implementing ContentWrapper packing.
This enables to extract common string into a map and only reference their values.
This is expected to bring a further 43% savings on search results. Altogether leading to a 50% reduction.
 #437
2022-06-24 18:05:45 +02:00
Patrik J. Braun
5778ef00f7 Implementing media fail check.
Gallery now will stop indexing if the root folder is empty. That is probably unintentional and would erase the whole database.
2022-05-15 22:07:46 +02:00
Patrik J. Braun
8d13af48b0 upgrading to bootstrap 5 2022-04-14 14:36:56 +02:00
Patrik J. Braun
dc55b01bcd fixing tests and cleaning up packages 2022-03-30 23:11:11 +02:00
Patrik J. Braun
a2e576ec27 updating node to v16 and angular to v12 2022-03-30 22:18:02 +02:00
Patrik J. Braun
0e4063fe39 ignore update 2022-03-30 22:17:07 +02:00
Patrik J. Braun
845c70f6c6 Replace readyThumbnail filed with missingThumbnail bitmap.
Expected to save 6% on the server result json size.

#437
2022-03-26 11:55:15 +01:00
Patrik J. Braun
9b71674ef7 fixing test 2022-03-25 21:55:38 +01:00
Patrik J. Braun
47d864abe5 Multiples small tweaks to save on the server response size:
* Removing ids from DTO as it is not needed on the client side. ~4% saving
 * Removing orientation information from DB and server response. ~3% saving
 * removing altitude from GPS data and reducing GPS, exposure and fstop precision ~3%
 Altogether 10% saving expected.
 #437
2022-03-25 21:51:42 +01:00
Patrik J. Braun
215fc314f2 Adding emoji support test to filenames #457, #399 2022-03-12 20:38:08 +01:00
Patrik J. Braun
c9178b0e22 fixing search test
(cherry picked from commit b1f094c150)
2022-02-22 14:13:07 +01:00
Patrik J. Braun
433d7724ce fixing preview issue: typeorm's parametrized SQL query was overriding each other, lets make them unique. 2022-02-05 12:19:09 +01:00
Patrik J. Braun
b4df99b5ce fixing preview manager ordering 2022-02-05 10:20:10 +01:00
Patrik J. Braun
6c6d77ad34 fixing preview manager ordering 2022-02-02 00:24:16 +01:00
Patrik J. Braun
0cd5e90866 fixing tests 2022-01-27 23:43:34 +01:00
Patrik J. Braun
3982250d64 Fixing search result to include directory preview fixes #411 2022-01-18 20:38:13 +01:00
Patrik J. Braun
69fedd6c67 Creating thumbnail filling job #381
The job fills, directory, albums and persons' thumbnails
2022-01-17 23:05:10 +01:00
Patrik J. Braun
9ea2fc5f21 Revert "upgrading to recommend node v16, making min version to be v14"
This reverts commit b72788456b.

# Conflicts:
#	.github/workflows/build.yml
#	.travis.yml
#	package-lock.json
#	package.json
2022-01-15 11:32:46 +01:00
Patrik J. Braun
776c8e83fc Caching preview in the DB to speed up directory querying #381 2022-01-14 20:57:20 +01:00
Patrik J. Braun
b72788456b upgrading to recommend node v16, making min version to be v14 2022-01-14 16:27:08 +01:00
Patrik J. Braun
e607ae810a Forcing mysql to use utf8mb4 fixes #399 2022-01-14 12:14:28 +01:00
Patrik J. Braun
b9e39e0c1e improving security on enforced users #220 2022-01-14 11:02:17 +01:00
Patrik J. Braun
f4f22118ab improving metadata config 2022-01-13 22:41:30 +01:00
Patrik J. Braun
74beebfed7 fixing test after rounding face region coordinates in MetadataLoader 2021-08-28 13:29:58 +02:00
Patrik J. Braun
2b89bc49ab Improving denormalized data update.
This change should remove the unnecessary DB updates, by making the denormalized data update when they first needed.
2021-08-28 11:42:06 +02:00
Patrik J. Braun
48ddb19f7f Creating onDBData change hook and refactoring album preview saving algorithm 2021-08-07 18:09:46 +02:00
Patrik J. Braun
43343b252c Implementing search query and custom sorting based preview selection #80 2021-07-06 21:37:19 +02:00
Patrik J. Braun
628bc74226 Refactoring directory interfaces #80 2021-06-27 19:33:37 +02:00