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

379 Commits

Author SHA1 Message Date
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
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
667160f4f8 Adding german language to angular.json. Also adding test to catch these errors in the future fixes #428 2022-02-26 18:38:29 +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
a749ba3a58 fixing settings value change detection 2022-02-05 10:58:24 +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
Patrik J. Braun
74a56caf76 fixing tests 2021-06-19 12:08:17 +02:00
Patrik J. Braun
3541eae141 Implementing listing metafiles in search result 2021-06-19 11:20:40 +02:00
Patrik J. Braun
ff08d34a04 Fixing tests 2021-06-03 21:19:21 +02:00
Patrik J. Braun
f2ab96faaf reducing album indexing manager scope 2021-05-31 22:41:31 +02:00
Patrik J. Braun
f1818c1ca6 Creating Album settings UI and adding album related translations #45 2021-05-31 22:34:55 +02:00
Patrik J. Braun
597d179f7d Adding count and precalculated preview to saved search #45 2021-05-31 19:55:27 +02:00
Patrik J. Braun
2e12af46d1 Fixing SOME_OF query flatteing issue 2021-05-31 16:44:37 +02:00
Patrik J. Braun
30c2497f8f Improving saved search pg2conf tests 2021-05-30 18:18:24 +02:00
Patrik J. Braun
b126022454 Improving SOME_OF search to support expressions with more parameters 2021-05-30 17:26:07 +02:00
Patrik J. Braun
404b82e12b Implementing .saved_searches.pg2conf saving tests 2021-05-30 15:09:47 +02:00
Patrik J. Braun
a9e88f1b7d Reading saved searches from .saved_searches.pg2conf #45 2021-05-29 23:27:52 +02:00
Patrik J. Braun
a5630a2fe8 Fixing failing Album tests #45 2021-05-28 23:28:12 +02:00
Patrik J. Braun
512f5c18d6 Implementing AlbumBase and SavedSearch Entities and Manager #45 2021-05-28 19:21:18 +02:00
Patrik J. Braun
e63a7cae98 Parsing ISO date string manually in search queries, also replacing all date to UTC dates #312 2021-05-27 23:15:00 +02:00
Patrik J. Braun
df42ebd9db Adding DB reset test 2021-05-24 16:03:53 +02:00
Patrik J. Braun
b7db019c70 skipping creation date test when it is not present 2021-05-24 15:18:55 +02:00
Patrik J. Braun
466496650e Supporting date before epoch (1970) #245, #294 2021-05-24 14:56:23 +02:00
Patrik J. Braun
8e9fc45928 fixing issue when searching for directory with brackets in its name #309
Example issue "2000.01.01 (An event)"
2021-05-24 00:07:19 +02:00
Patrik J. Braun
a33f983d16 Implementing directory search guard #309 #304
Creates a settings that can enable and disable directories in search result
2021-05-23 22:38:11 +02:00
Patrik J. Braun
90aff86485 Implementing search returning with directories too, not just media #309 #304 2021-05-23 22:26:27 +02:00
Patrik J. Braun
f6aaa6de58 Making "and" to be the default operator for search queries #309 2021-05-23 18:05:12 +02:00
Patrik J. Braun
f84f555182 renaming "from" and "to" to "after" and "before" in search query #309 2021-05-23 17:58:58 +02:00
Patrik J. Braun
d0153e58d9 Implementing negatable search query parsing #309 2021-05-23 17:56:58 +02:00
Patrik J. Braun
20f4e8735a Fixing JobSchedule tests #273 2021-05-22 14:47:35 +02:00
Patrik J. Braun
94d57cf6a1 Enforcing faces support in metadata loader tests 2021-05-11 16:44:17 +02:00
Patrik J. Braun
f853efa3c1 fixing tslint issue 2021-05-11 16:35:19 +02:00
Patrik J. Braun
4ab1f558d1 Loading default settings before evaluating MetadataLoader 2021-05-11 15:57:36 +02:00
Patrik J. Braun
032a5f4863 updating packages 2021-05-11 15:43:44 +02:00
Patrik J. Braun
db53503a04 fixing DB test for memory DB 2021-05-11 15:20:36 +02:00
Patrik J. Braun
a75a28f5c4 Fixing benchmark (Adding new search cases after advanced search is ready) 2021-05-10 13:03:22 +02:00
Patrik J. Braun
77363f208e fixing SearchQueryParser tests 2021-05-05 21:20:12 +02:00
Patrik J. Braun
6249d942c0
Merge pull request #275 from kagahd/issue274
#274 use ExifReader 3.15.0 to avoid overwriting Rating by RatingPercent
2021-04-26 22:11:02 +02:00
kagahd
eb99ec004d #274 use ExifReader 3.15.0 to avoid overwriting Rating by RatingPercent 2021-04-26 15:22:12 +02:00
kagahd
f8b68e5c2c #267 add XMP 'subject' to 'keywords' with proper encoding 2021-04-25 01:16:22 +02:00
kagahd
a4cb1188fe #267 add XMP section 'subject' to keywords 2021-04-24 10:32:12 +02:00
kagahd
d788af3a2d #267 support XMP tag 'subject' 2021-04-23 20:09:33 +02:00
Patrik J. Braun
085d7c2cd9 fixing linting erros. adding tslint to pretest 2021-04-18 15:48:35 +02:00
Patrik J. Braun
669ad818c3 replacing ng2-slim-loading-bar with @ngx-loading-bar to make prod compilation pass (previous bar was not compatible with angular 6 and above) 2021-04-11 00:05:33 +02:00
Patrik J. Braun
0f7ac812ea Implementing distance search #58 2021-04-06 11:32:31 +02:00
Patrik J. Braun
5405a6f9d3 improving date autocomplete and parsing for search #58 2021-04-04 11:40:43 +02:00
Patrik J. Braun
3c70ce4b0b improving MetaDataLoader to better handle edge cases #245 2021-04-02 15:53:20 +02:00
Patrik J. Braun
acd130babd Fixing preview generation 2021-04-01 21:48:38 +02:00
Patrik J. Braun
e184db833e fixing orientation test 2021-03-28 13:41:54 +02:00
Patrik J. Braun
36ecbcbd3d Fixing Orientation reading issue and adding orientation reading tests #212 2021-03-28 13:24:55 +02:00
Patrik J. Braun
5020949a88 Improving preiview handling (fixing DB case insensitive issue when selecting preview that is on the same path, adding tests) #31 2021-03-28 12:43:13 +02:00
Patrik J. Braun
09e2a07c5e Minor IndexingManager test improvements 2021-03-27 22:28:01 +01:00
Patrik J. Braun
e6e5e43877 Improving IndexingManager tests 2021-03-27 22:24:13 +01:00
Patrik J. Braun
c670a17e27 Adding preview field to Directory and populating it with any photo from subdirectory (based on #165), fixes #31 2021-03-27 21:31:19 +01:00
Patrik J. Braun
8bd04dda8c Improving orientation detection #212, #184, #234 2021-03-27 10:23:48 +01:00
Patrik J. Braun
c5b657a96a Fixing search query parser 2021-03-20 23:31:39 +01:00
Patrik J. Braun
9f9dbe0c51 refactoring query parser 2021-03-20 11:20:53 +01:00
Patrik J. Braun
d02e3cbd33 Fixing persons metadata sql field charset 2021-03-14 18:23:30 +01:00
Patrik J. Braun
41292ec4b4 Fixing parsing errors. 2021-03-14 10:56:59 +01:00
Patrik J. Braun
47703b6b84 Implementing search query parsing and stringifying. #58 2021-02-14 12:57:05 +01:00
Patrik J. Braun
88015cc33e Implementing adv. search query builder #58 2021-01-31 12:22:56 +01:00
Patrik J. Braun
de9c58fd90 refactoring random photo. Fixing tests 2021-01-17 15:56:15 +01:00
Patrik J. Braun
a8bbefe0f8 refactoring code, improving advanced search 2021-01-17 10:56:33 +01:00