1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
Commit Graph

363 Commits

Author SHA1 Message Date
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
grasdk
6009ac649f
effective storage of offset (#6) 2024-02-21 23:06:24 +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
Patrik J. Braun
81752b2a60 Fixing e2e tests #801 2023-12-26 09:29:58 +01:00
Nick Kocharhook
45d9398dea Add titles to caption tests. 2023-12-06 16:40:08 +00:00
Patrik J. Braun
60a0beeb1e Adding base url to language redirect. fixes #793 2023-12-02 09:20:19 +01:00
Patrik J. Braun
4d7e7fe161 Fix sharing e2e tests #744 2023-12-02 09:13:05 +01:00
Patrik J. Braun
ba9b5292e1 Fix sharing password. fixes #744 2023-12-01 19:33:39 +01:00
Patrik J. Braun
16bf756582 Add sharing E2E tests #744 2023-12-01 19:02:40 +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
b5f36fb8f2 Fix autoplay bug also add E2E test for checking it #725 2023-10-06 01:04:35 +02:00
Patrik J. Braun
11a300b0eb Update documentation #725 2023-09-21 23:17:50 +02:00
Patrik J. Braun
182fbb8815 ignoring noisy tests 2023-09-20 22:13:33 +02:00
Patrik J. Braun
768fb20397 Add await to config loading 2023-09-20 21:37:33 +02:00
Patrik J. Braun
78041a1d9c Improving E2E tests 2023-09-20 20:21:51 +02:00
Patrik J. Braun
8d22141e88 Adding object managers init to tests 2023-09-20 19:05:56 +02:00
Patrik J. Braun
03bad354ef Fixing auto lightbox loading on navigation #587 #725 2023-09-20 18:51:41 +02:00
Patrik J. Braun
789c54a23f Adding E2E test for auto opening lightbox #587 #725 2023-09-20 18:40:53 +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
Patrik J. Braun
5368b4ed4e Adding support for 0 day ago number in date pattern search 2023-09-08 23:14:52 +02:00
Patrik J. Braun
d31cf0040c Improve search UI #683 2023-09-08 22:55:24 +02:00
Patrik J. Braun
040154502e Waiting for directory scanning before testing faces E2E 2023-09-06 21:50:33 +02:00
Patrik J. Braun
04d1ff268d increase e2e timeout 2023-09-06 21:38:00 +02:00
Patrik J. Braun
773c495a21 Forcing clicking on faces even if there is an error message 2023-09-06 21:24:25 +02:00
Patrik J. Braun
d34015f1ef Fixing missing faces, also adding E2E tests to test them #704, fixes #713 2023-09-06 21:09:13 +02:00
Patrik J. Braun
1299b5d2bd Fixing face path in E2E test 2023-09-06 20:49:53 +02:00
Patrik J. Braun
677f7b7856 remove E2E dependency to rendered photo (server might be slow) 2023-09-06 20:46:44 +02:00
Patrik J. Braun
c78dc6f350 remove E2E dependency to rendered photo (server might be slow) 2023-09-06 20:37:08 +02:00
Patrik J. Braun
273bb22928 remove failing E2E test 2023-09-06 20:34:34 +02:00
Patrik J. Braun
f838697ae7 Add minimal gallery e2e testing 2023-09-06 16:05:28 +02:00
Patrik J. Braun
b34038c2a0 Adding basic cygress e2e tests 2023-09-06 12:56:52 +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
a14c2ff45d Implement date pattern negating on the UI: #660 2023-08-04 19:24:55 +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
48e0c267a4 Creating parser for data patter search #660 2023-05-07 12:46:15 +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
080455cdc1 Fixing sharing link url on the admin page fixes #631 2023-03-10 00:00:30 +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
7f758492db Fixing UI tests 2023-01-10 21:39:59 +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
849ebbec9e Smaller performance tweeks to thumbnail reading
#437
2022-06-27 23:46:17 +02: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
0ee5dacf70 improving date parsing in SearchQueryParser.ts 2022-04-25 19:23:03 +02:00
Patrik J. Braun
acc921a4e5 fixing chinese translation test 2022-04-25 18:48:42 +02:00
Patrik J. Braun
8d13af48b0 upgrading to bootstrap 5 2022-04-14 14:36:56 +02:00