1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-25 02:04:15 +02:00
Commit Graph

283 Commits

Author SHA1 Message Date
Patrik J. Braun
2ca74ef8b4 Implementing custom header support #331, #325, fixes #404, 2022-01-14 10:56:21 +01:00
Patrik J. Braun
e956199c8e Creating enforced users in the config file fixes #220, fixes #393, 2022-01-13 23:57:31 +01:00
Patrik J. Braun
f4f22118ab improving metadata config 2022-01-13 22:41:30 +01:00
Patrik J. Braun
38dfcf03cd Adding error warning for using the default admin/admin user/password pair 2021-12-31 14:38:01 +01:00
Patrik J. Braun
af52919721
Revert "fix encoding non-ascii characters in detected face names" 2021-12-30 18:38:09 +01:00
Patrik J. Braun
46c9a6fb00 Merge remote-tracking branch 'origin/master' 2021-12-11 16:25:12 +01:00
Patrik J. Braun
7d70c71109 Refactoring basic setting saving. Fixes #311 #352 2021-12-11 16:24:07 +01:00
desertwitch
e38cbc0079 fix #346 RangeError running jobs on large DBs 2021-11-28 14:38:50 +01:00
Patrik J. Braun
2f1c48ce02
Merge pull request #344 from ajgon/fix/face-detection-name-encoding
fix encoding non-ascii characters in detected face names
2021-09-24 00:20:09 +02:00
Patrik J. Braun
5d4ca9a590 Fixing MySQL number rounding issue 2021-08-28 13:06:25 +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
7c0e2ead06 Fixing mem DB 2021-08-07 18:21: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
Igor Rzegocki
14b64e31fa
fix encoding non-ascii characters in detected face names 2021-07-24 01:28:58 +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
41975f72a1 fixing temp folder saving #311 2021-06-19 12:18:07 +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
57ac433c46 Loading faces even if override keywords are disabled. fixes #293 2021-06-03 22:44:41 +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
8570649509 Adding missing dummy memory db implementation #45 2021-05-31 21:19:59 +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
1e8ec4e96e Implementing Album UI #45 2021-05-28 21:01:59 +02:00
Patrik J. Braun
6a08cc1c1c Adding Album Middlewares and routers #45 2021-05-28 19:46:22 +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
df42ebd9db Adding DB reset test 2021-05-24 16:03:53 +02:00
Patrik J. Braun
466496650e Supporting date before epoch (1970) #245, #294 2021-05-24 14:56:23 +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
21908732c6 Fixing periodic job scheduling timezone issue. #273
Note: current time format change from valid timestamp to hours*60+minutes, current config wont be valid.
2021-05-21 16:38:29 +02:00
Patrik J. Braun
2fa1c8f87f Implementing custom Logger, removing deprecated winston dependency
Winston had a major API refactor since v2, so update was not straight forward. Pigallery also uses simple logging, so no need for the complex feature set of winston.
2021-05-16 11:11:53 +02:00
Patrik J. Braun
f59ba6eb98 fixing linting issues 2021-05-16 08:15:42 +02:00
Patrik J. Braun
86739d3378 Reverting Indexing from positions as it did not improve performance 2021-05-12 22:37:36 +02:00
Patrik J. Braun
eb84723523 Reverting Indexing as it did not improve performance 2021-05-12 21:56:52 +02:00
Patrik J. Braun
96e8ec0d89 Fixing Database issue:
indexed text columns need a length. Replacing text with varchar.
simple-array is always text, so implementing custom array transformer
2021-05-12 14:27:20 +02:00
Patrik J. Braun
1d3f9df8f4 Implementing changes only indexing for indexing job. Making that to default 2021-05-12 13:56:10 +02:00
Patrik J. Braun
09230b9e55 Adding indexes and proper character set to Media metadata to improve search performance 2021-05-12 12:35:16 +02:00
Patrik J. Braun
872e63703d Fixing face caching issue 2021-05-12 00:06:06 +02:00
Patrik J. Braun
d0a464b526 sub version bump 2021-05-11 23:37:46 +02:00
Patrik J. Braun
f3980116f5 Improving search performance 2021-05-11 23:27:50 +02:00
Patrik J. Braun
939f17add2 Make the Persons cache distinct on the MediaEntry 2021-05-11 20:59:55 +02:00
Patrik J. Braun
d53af51be2 Adding preview from sub dirs to freshly scanned photos: #31 2021-05-11 17:39:58 +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
a75a28f5c4 Fixing benchmark (Adding new search cases after advanced search is ready) 2021-05-10 13:03:22 +02:00
Patrik J. Braun
18db27b418 Fixing temp folder saving issue #289 2021-05-08 08:38:12 +02:00
Patrik J. Braun
a8d636776b Fixing issue with filenames containing # and % fixes #276 and fixes #272 2021-05-04 22:43:19 +02:00
Patrik J. Braun
c5a1fa2657 Fixing sub directory search issue
(it was failing on directory:(dir/subdir) due to the "/" in the url) #284
2021-05-04 21:46:28 +02:00
mcdamo
13a09f0695 Disable zip compression for better performance 2021-05-04 10:07:43 +10:00
mcdamo
07847e06c5 Convert require to import packages 2021-05-03 22:49:41 +10:00
mcdamo
ba8ebca21c Remove listDirectory check 2021-05-03 22:36:56 +10:00
mcdamo
b64f66c253 Remove permission check in GalleryMW 2021-05-03 22:28:34 +10:00
mcdamo
6af288e77a Download zip folder 2021-04-29 00:11:18 +10:00
kagahd
f8b68e5c2c #267 add XMP 'subject' to 'keywords' with proper encoding 2021-04-25 01:16:22 +02:00
kagahd
bd3db9a308 #267 add XMP subject to keywords only if keyword is not yet exisiting 2021-04-24 16:11:44 +02:00
kagahd
a4cb1188fe #267 add XMP section 'subject' to keywords 2021-04-24 10:32:12 +02:00
Patrik J. Braun
d9bd588b1a replacing ng2-cookies to ngx-cookie-service 2021-04-19 20:10:44 +02:00
Patrik J. Braun
4af6c16aef Adding never expiring sharing link. #260
It works by setting the expirity to -1 that setts the expire dat to 01/01/9999. Now the UI does not show expiration if it is longer than 10 years
2021-04-19 15:56:50 +02:00
Patrik J. Braun
085d7c2cd9 fixing linting erros. adding tslint to pretest 2021-04-18 15:48:35 +02:00
Patrik J. Braun
e83ba7c5fa updating building and translations 2021-04-17 18:32:32 +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
40f83f49cd Making directory sorting by date switchable (off by default) #230
If enabled, directories are sorted by last touched date (not by creation date of photos that are within a given directory). Any change to that directory would reorder the directories.
2021-04-06 17:30:52 +02:00
Patrik J. Braun
0f7ac812ea Implementing distance search #58 2021-04-06 11:32:31 +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
d8b3ff06fd Setting metadata keywords to use utf8_bin with mysql #245 2021-04-01 22:24:56 +02:00
Patrik J. Braun
b908c3e4fb Adding guards to metadata loader and cleaning metadata #244 2021-04-01 22:17:40 +02:00
Patrik J. Braun
acd130babd Fixing preview generation 2021-04-01 21:48:38 +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
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
d02e3cbd33 Fixing persons metadata sql field charset 2021-03-14 18:23:30 +01:00
Patrik J. Braun
7ab2d9e62d Fixing reference issues 2021-03-14 17:45:32 +01:00
Patrik J. Braun
007962cc8d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/frontend/app/ui/gallery/gallery.component.ts
2021-03-14 16:54:10 +01:00
Patrik J. Braun
270d5af74d Updating random photo query builder to use advanced search #58 2021-03-14 16:52:37 +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
db1fea37fa
Merge pull request #165 from lexas2509/recursive
Folder preview image will be taken from all child directories not only direct childs
2021-01-24 18:42:20 +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
Roland
45a7f77454 Takes '.' for start_url if publicUrl is empty 2021-01-16 08:41:01 +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
f6bf64399a improving Benchmark 2020-12-31 12:35:28 +01:00
Patrik J. Braun
411023021d Adding persons statistic to ui 2020-12-30 22:12:36 +01:00
Patrik J. Braun
29c3e580d4 improving benchmark 2020-12-30 21:54:07 +01:00
Patrik J. Braun
0a8af49752 Adding benchmark to release code 2020-12-30 21:13:19 +01:00
Patrik J. Braun
03789ecaf8 improving benchmark 2020-12-28 22:08:57 +01:00
Patrik J. Braun
b37d4ec8c8 Improving notification and CSRF error logging 2020-12-27 18:57:02 +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
f2538410f6 Merge remote-tracking branch 'origin/master' 2020-12-27 13:38:17 +01:00
Patrik J. Braun
2a7269c34a
Merge pull request #201 from lbischof/regions
Support exiftool face region format
2020-12-27 13:38:00 +01:00
Patrik J. Braun
4f80ae76bd saving start time for all requests 2020-12-27 13:36:41 +01:00
Patrik J. Braun
9df2b8fbaa Improving error logging for handled server side errors.
Looking for: "ForbiddenError: invalid csrf token"
2020-12-25 10:36:49 +01:00
Patrik J. Braun
ee355dd012 Refactoring max search result.
#174
2020-10-31 21:16:51 +01:00
Patrik J. Braun
161e291939 Removing memory DB fallback in case of DB error.
App now terminates on an error.

Fixes #163
2020-10-31 21:02:35 +01:00
Lorenz Bischof
17df914791 Support exiftool face region format 2020-10-28 14:02:59 +01:00
Tuur Lievens
2976193b42 Add web manifest 2020-09-13 13:44:14 +02:00
Patrik J. Braun
f1d9fa0933 Fixing base url issue. Fixes: #178 2020-09-13 12:54:31 +02:00
Patrik J. Braun
cdd1139bab Implementing sharing listing and deleting. Fixes: #145 2020-09-06 16:12:30 +02:00
Patrik J. Braun
ae447878d0 implementing share management backend features #145 2020-09-06 14:44:25 +02:00
Patrik J. Braun
b9f5aed01c adding more logging 2020-09-06 13:14:28 +02:00
Patrik J. Braun
ea29f51d10 fixing logging error 2020-09-06 12:22:54 +02:00
Patrik J. Braun
9cbcedea0a Adding forcable logs 2020-09-06 12:17:05 +02:00
Patrik J. Braun
1cc95bb925 removing image rotation to support the now available in-browser image orientation tag https://caniuse.com/#feat=css-image-orientation
Fixes: #172
2020-09-06 10:11:30 +02:00
Patrik J. Braun
f67dc7d58f removing support for GM image library 2020-09-05 20:57:53 +02:00
Patrik J. Braun
d34c070566 adding tags list to the infobar. Fixes: #171 2020-09-05 19:56:30 +02:00
Patrik J. Braun
aa2f8451a6 adding config to disable memory db fallback. #163 2020-09-05 19:09:25 +02:00
Patrik J. Braun
c06a2b887e Fixing recursive random photo generation Fixes: #154 2020-09-05 18:38:43 +02:00
Patrik J. Braun
e9468c154a Hiding faces for guest users (sharing link). Fixes: #149 2020-09-05 16:06:11 +02:00
Aleksey Khlebnikov
d33e674614 Apply rotation transformation from ffprobe to metadata's size 2020-09-02 14:23:30 +03:00
Alexey.Vlasov
77551eadd9 Preview will show from all child directoris (not only direct childs) 2020-06-28 22:41:37 -07:00
Patrik J. Braun
bc5c8e3b58
Update DiskMangerWorker.ts
fixing #137
2020-02-13 09:46:44 +01:00
Patrik J. Braun
b8557ad9b0 fixing date issue #136 2020-02-08 16:31:29 +01:00
Patrik J. Braun
58aa4a720d improving default value management 2020-02-08 12:12:20 +01:00
Patrik J. Braun
bcfd419908 adding crf, preset and custom options to video encoding, implementing: #131 2020-02-08 09:59:18 +01:00
Patrik J. Braun
2654dce9a1 signaling docker sensitive options 2020-02-07 23:32:41 +01:00
Patrik J. Braun
d152900e21 implementing advanced settings 2020-02-04 19:37:47 +01:00
Patrik J. Braun
73fee438ec adding mysql port to configs 2020-01-29 16:15:00 +01:00
Patrik J. Braun
3a347c13e2 fixing types 2020-01-28 21:46:27 +01:00
Patrik J. Braun
4e3f464cf8 upgrading to typeconfig2.0 2020-01-28 18:36:52 +01:00
Patrik J. Braun
d2e0dc23e3 fixing bestfit video error issue #120 2020-01-07 22:48:54 +01:00
Patrik J. Braun
5b4f06e789 implementing csrf security for posts 2020-01-07 22:17:54 +01:00
Patrik J. Braun
19d3f10d35 improving code quality. restricting secret to be accessible through rest api 2020-01-03 20:28:03 +01:00
Patrik J. Braun
b68d5d174d Adding /api/user/login integration test 2020-01-03 11:36:39 +01:00
Patrik J. Braun
17139c692b improving code quality 2020-01-02 22:11:59 +01:00
Patrik J. Braun
bc875c2e96 improving person name case special support 2020-01-01 23:24:22 +01:00
Patrik J. Braun
83f3def727 fixing case sensitivity issue with PersonManager 2020-01-01 20:26:59 +01:00
Patrik J. Braun
9646da58f4 adding missing dummy implementations 2020-01-01 16:17:37 +01:00
Patrik J. Braun
da6c77678f improving faces sample photo selection 2020-01-01 15:57:16 +01:00
Patrik J. Braun
ecd51ec9a5 improving temp folder cleaning 2020-01-01 00:06:43 +01:00
Patrik J. Braun
1acbc67638 adding parallel run lock for jobs 2019-12-31 13:38:23 +01:00
Patrik J. Braun
5a0222024b improving fileJob directory scanning 2019-12-31 11:12:59 +01:00
Patrik J. Braun
c716ff4ca7 improving jobs 2019-12-30 17:52:58 +01:00
Patrik J. Braun
34267e8ed8 improving docker file, adding heartbeat url 2019-12-30 17:52:12 +01:00
Patrik J. Braun
9516fba85b adding missing translations, improving phone settings phone view 2019-12-30 17:10:01 +01:00
Patrik J. Braun
4c507f286d improving job ui and job handling 2019-12-30 15:49:56 +01:00