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

524 Commits

Author SHA1 Message Date
Patrik J. Braun
8f6f960ee8 deprecating memory based DB 2022-03-04 17:59:50 +01:00
Patrik J. Braun
41b94f11e9 ordering languages alphabetically #438 2022-03-04 17:45:51 +01:00
Nriver
878ebfad82 update chinese translation 2022-03-01 09:56:38 +08:00
Patrik J. Braun
211a5bd4dd showing gpx tracks in folders without a photo with gps position. #422 2022-02-27 19:07:00 +01:00
Dedy Martadinata Supriyadi
21884ab2d0 add id-translation 2022-02-27 15:25:58 +07:00
Patrik J. Braun
8469903189 Fixing ServerTimingMW #437 2022-02-26 17:33:27 +01:00
Patrik J. Braun
41ad14dffd Updating translations #438 2022-02-26 13:42:34 +01:00
Patrik J. Braun
950067c789 Do not add users if authentication is not required 2022-02-26 12:45:26 +01:00
Patrik J. Braun
c6640ce0f4 Adding server timing to measure performance (default value: false) #437 2022-02-26 12:34:04 +01:00
Patrik J. Braun
2543fd9301 Fixing indexing job UI. 2022-02-25 16:56:28 +01:00
Patrik J. Braun
724ef1050c Making better-sqlite3 the sqlite driver instead of sqlite3 #299 2022-02-23 22:54:41 +01:00
Patrik J. Braun
ca16ce0c83 fixing experiment to regenerate db when switching sql driver #299 2022-02-22 23:50:28 +01:00
Patrik J. Braun
3d34b16340 Experimenting with better-sqlite3 2022-02-22 14:06:52 +01:00
Patrik J. Braun
02edfb4963 Improving Autocomplete to show more items from one type if there is not enough. Also list persons first with more photos #improvement 2022-02-22 13:47:41 +01:00
Patrik J. Braun
9c96dba032 Adding slider to filters and blocking filters when no media is available #287 #improvement 2022-02-22 13:19:09 +01:00
Braun Patrik
8665e17deb Improve filter responsiveness #287 #improvement 2022-02-19 15:16:51 +01:00
Patrik J. Braun
fbae2e77d2 Fixing null reference issue #287 2022-02-19 00:16:39 +01:00
Patrik J. Braun
b24d5f4779 Fixing faces filter #287 2022-02-19 00:10:11 +01:00
Patrik J. Braun
35875b8aad Adding more filter options #287 2022-02-19 00:02:57 +01:00
Patrik J. Braun
d30c0f5292 Implementing filter pinning #287 2022-02-18 23:58:23 +01:00
Patrik J. Braun
44e7445e0f replacing mergeMap to switchMap in filter and sorting #287 2022-02-18 22:56:14 +01:00
Patrik J. Braun
a6b14534ee Implementing filter #287 2022-02-16 22:17:38 +01:00
Patrik J. Braun
169d59fb8e Refactoring gallery to use observable for soring #287 2022-02-11 19:05:51 +01:00
Patrik J. Braun
77767f27b0 fixing preview filling job's logs 2022-02-06 20:01:37 +01:00
Patrik J. Braun
4fa35c1487 Improving settings badge position #368 2022-02-06 16:32:21 +01:00
Patrik J. Braun
4e848fdbed Adding directory flattening button #174 2022-02-06 16:05:13 +01:00
Patrik J. Braun
a1de381caa Disabling random link by default as it poses a security risk. #392 2022-02-06 15:13:40 +01:00
Patrik J. Braun
42fd161a66 Making preview manager to first find photo in the same directory then in any subdirectories without any ordering between subdirectories. 2022-02-06 11:36:45 +01:00
Patrik J. Braun
0d519055d5 Fixing dir preview sorting algorithm. 2022-02-05 13:16:16 +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
97fcc3eeea Improving settings UI 2022-01-26 23:38:18 +01:00
Patrik J. Braun
8f871f31f2 Implementing preview resetting job #80, #381 2022-01-26 23:09:31 +01:00
Patrik J. Braun
1255246b0f implementing preview settings #80, #381 2022-01-26 22:50:49 +01:00
Patrik J. Braun
b169fa67b3 Removing default enforced admin/admin user, only adding it if no admin is present. fixes #408 2022-01-20 19:45:25 +01:00
Patrik J. Braun
a4a9fe2c98 Merge remote-tracking branch 'origin/master' 2022-01-18 20:38:31 +01:00
Patrik J. Braun
3982250d64 Fixing search result to include directory preview fixes #411 2022-01-18 20:38:13 +01:00
Veronika
55f2748cfd Revert "Fix no folder previews on directory search results"
This reverts commit e09d006505.
2022-01-18 14:51:07 +01:00
Veronika
e09d006505
Fix no folder previews on directory search results 2022-01-18 13:41:35 +01:00
Veronika
0431ce67e2
No negative EXIF ratings 2022-01-18 12:48:08 +01:00
Patrik J. Braun
5f6c8323c7 fixing metafile setting descsription. 2022-01-17 23:18:02 +01:00
Patrik J. Braun
d9d8c21f9e Merge remote-tracking branch 'origin/master' 2022-01-17 23:05:26 +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
Veronika
1ced72be77
apple-touch-icon #351 2022-01-16 10:36:44 +01:00
Patrik J. Braun
68e0cdd6f5 fixing isArray dependency fixes #406 2022-01-15 14:39:30 +01:00
Patrik J. Braun
abfe9018c5 replacing ffmpeg and ffprobe to *-static node packages 2022-01-15 11:39:25 +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
07d8261034 Fixing User name unique issue (it was already set as unique) 2022-01-14 11:13:26 +01:00
Patrik J. Braun
4164af7c13 Adding variable description #220 2022-01-14 11:12:53 +01:00
Patrik J. Braun
b9e39e0c1e improving security on enforced users #220 2022-01-14 11:02:17 +01:00
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
938a1386fc Improving metafile settings 2022-01-13 23:36:32 +01:00
Patrik J. Braun
f2cba37d6d improving markdown design 2022-01-13 23:25:36 +01:00
Patrik J. Braun
f4f22118ab improving metadata config 2022-01-13 22:41:30 +01:00
Patrik J. Braun
268754127d updating settings description 2021-12-31 18:52:57 +01:00
Patrik J. Braun
47fec015c1 Implementing basic blogging support 2021-12-31 18:50:21 +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
956c81b075 making gpx part of search result by default 2021-12-30 19:16:40 +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
db9889ed2c fixing top bar design issues #339 2021-12-11 16:34:30 +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
Nriver
51d2e28d60 add Chinese translation 2021-09-16 17:02:47 +08: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
6a4c38a868 Merge remote-tracking branch 'origin/master' 2021-08-07 18:09:57 +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
13ff652569
Merge pull request #339 from ashwin-pc/patch-1
Fix whitespace between Navbar and breadcrumbs
2021-07-25 12:58:43 +02:00
Igor Rzegocki
14b64e31fa
fix encoding non-ascii characters in detected face names 2021-07-24 01:28:58 +02:00
antegs
d8f0a7ff9e Fix gallery sorting #341 2021-07-20 13:04:22 +09:00
Ashwin P Chandran
e9dc5b7d02
Fix whitespace between Navbar and breadcrumbs
There is a whitespace between the Navbar and breadcrumb/sort section. The change here is to remove the margin style that causes the white space.
2021-07-18 21:23:08 -07: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
6bcd8ff33c Add sorting by rating #80 2021-06-24 23:00:41 +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
a47e613ca9 Adding missing translations entries to messages.de.xlf. 2021-06-19 11:22:01 +02:00
Patrik J. Braun
96a29797ed Merge remote-tracking branch 'origin/master' 2021-06-19 11:20:48 +02:00
Patrik J. Braun
3541eae141 Implementing listing metafiles in search result 2021-06-19 11:20:40 +02:00
kleinrene
4251cefe2b
Create messages.de.xlf 2021-06-05 13:51:54 +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
e26c60d67b Add .saved_searches.pg2conf popup #45 2021-05-30 00:02:05 +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
682c2e5c11 Making random query builder to use search query builder 2021-05-28 23:21:53 +02:00
Patrik J. Braun
fc854f7295 Implementing add saved search button on the albums page #45 2021-05-28 23:17:29 +02:00
Patrik J. Braun
c31e7b8e3a Adding save album button to search query builder #45 2021-05-28 22:02:49 +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
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
37594f1b88 Replacing local date format with ISO string format as Date.parse only supports that reliably cross browser. #312 2021-05-26 22:07:37 +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
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
e41ac5b990 Making inset button always visible on touchscreens #309 2021-05-23 18:10:36 +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
91981064e7 increase advanced cookie lifespan to 50 years 2021-05-21 16:40:34 +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
01f858b092 Saving settings mode to cookies 2021-05-16 16:36:21 +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
355df1d022 Fixing url encoding issues #272
URLs that contain special characters (got media, face or directory) got parsed the wrong way, this commit fixes it.
2021-05-15 10:33:43 +02:00
Patrik J. Braun
ea3506c388 Clearing cache on reload #285
It should help with reducing the confusion as forced reload did not cleared local cache.
2021-05-15 09:51:19 +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
228811bac0 Show rating on the UI #69 2021-05-11 16:24:46 +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
f6fd2ccc02 Improving zip folder download link 2021-05-08 09:06:56 +02:00
Patrik J. Braun
18db27b418 Fixing temp folder saving issue #289 2021-05-08 08:38:12 +02:00
Patrik J. Braun
126bf660ac Merge remote-tracking branch 'origin/master' 2021-05-06 22:58:40 +02:00
Patrik J. Braun
514168e99d Fixing autocomplete panel closing 2021-05-06 22:58:32 +02:00
mcdamo
5b05608870 Add device detection for portrait mode in directories listing 2021-05-06 19:26:59 +10:00
Patrik J. Braun
928a8918c6 Improving autocomplete and search 2021-05-05 20:47:02 +02:00
Patrik J. Braun
af67a8ac1c fixing caption background issue in lightbox 2021-05-05 20:06:02 +02:00
Patrik J. Braun
db398b87eb fixing face cards miss position issue 2021-05-05 19:59:02 +02:00
Patrik J. Braun
d9022d636f adding map icon pop 2021-05-04 23:39:55 +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