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

267 Commits

Author SHA1 Message Date
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
Patrik J. Braun
e643ee2ed1 improving advanced search 2021-01-16 23:37:14 +01:00
Patrik J. Braun
9a923aa8ab Implementing model for advanced searching. #58 2021-01-16 16:59:59 +01:00
Patrik J. Braun
928f282311 Adding rating support to model.
#217 #69
2021-01-05 20:35:13 +01:00
Patrik J. Braun
5f0f09d420 Project cleanup and version bumps 2021-01-04 11:11:55 +01:00
Patrik J. Braun
2f0d2a5e59 Project cleanup 2021-01-04 10:40:09 +01:00
Patrik J. Braun
bd60900f7c 10x performance improvement for listing faces 2021-01-01 17:58:41 +01:00
Patrik J. Braun
cc3629ff73 fixing test 2020-12-30 22:22:40 +01:00
Patrik J. Braun
03789ecaf8 improving benchmark 2020-12-28 22:08:57 +01:00
Patrik J. Braun
3b82b71203 fixing backend test 2020-12-27 17:54:05 +01:00
Patrik J. Braun
dffbd1e7d5 fixing backend test 2020-12-27 17:36:29 +01:00
Patrik J. Braun
d00cf9420e Adding test to exiftool based face region parsing 2020-12-27 14:35:30 +01:00
Patrik J. Braun
78cb352127 fixing png test 2020-09-13 15:06:12 +02:00