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

303 Commits

Author SHA1 Message Date
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