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

302 Commits

Author SHA1 Message Date
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
0ee5dacf70 improving date parsing in SearchQueryParser.ts 2022-04-25 19:23:03 +02:00
Patrik J. Braun
782cf78b03 fixing building errors 2022-04-25 18:36:18 +02:00
Patrik J. Braun
b1c9827729 Fixing lint errors 2022-04-25 18:09:06 +02:00
Patrik J. Braun
8d13af48b0 upgrading to bootstrap 5 2022-04-14 14:36:56 +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
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
9ef0f5d2b8 Making random-link by-default enabled, and updating the warning note #392 2022-03-05 13:09:24 +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
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
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
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
5f6c8323c7 fixing metafile setting descsription. 2022-01-17 23:18:02 +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
776c8e83fc Caching preview in the DB to speed up directory querying #381 2022-01-14 20:57:20 +01:00
Patrik J. Braun
4164af7c13 Adding variable description #220 2022-01-14 11:12:53 +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
f4f22118ab improving metadata config 2022-01-13 22:41:30 +01:00
Patrik J. Braun
47fec015c1 Implementing basic blogging support 2021-12-31 18:50:21 +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
7d70c71109 Refactoring basic setting saving. Fixes #311 #352 2021-12-11 16:24:07 +01: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
3541eae141 Implementing listing metafiles in search result 2021-06-19 11:20:40 +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
fc854f7295 Implementing add saved search button on the albums page #45 2021-05-28 23:17:29 +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
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
f6aaa6de58 Making "and" to be the default operator for search queries #309 2021-05-23 18:05:12 +02:00
Patrik J. Braun
d0153e58d9 Implementing negatable search query parsing #309 2021-05-23 17:56:58 +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
eb84723523 Reverting Indexing as it did not improve performance 2021-05-12 21:56:52 +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
928a8918c6 Improving autocomplete and search 2021-05-05 20:47:02 +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
0b24d60b44
Merge pull request #278 from mcdamo/feature/download-zip
Download zip folder
2021-05-04 21:12:31 +02:00
Patrik J. Braun
b4e831c8d6 Increasing max items per search result (also adding it to the UI) 2021-05-02 08:51:11 +02:00
mcdamo
6af288e77a Download zip folder 2021-04-29 00:11:18 +10:00
Patrik J. Braun
7e7af8d714 Adding switch to disable full resolution image load on zoom #259 2021-04-19 16:25:39 +02:00
Patrik J. Braun
07012ebd3c Adding baseUrl to /api/person path #264 2021-04-19 15:12:27 +02:00
Patrik J. Braun
085d7c2cd9 fixing linting erros. adding tslint to pretest 2021-04-18 15:48:35 +02:00
Patrik J. Braun
ddf516b399 Merging new translations 2021-04-17 15:40:01 +02:00
Patrik J. Braun
61777e4eaa Updating packages #255 2021-04-10 10:51: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
04aacdc431 Reducing max markers in map preview 2021-04-06 13:15:50 +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
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
50ede89347 Version bumps 2021-03-28 15:45:06 +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
c5b657a96a Fixing search query parser 2021-03-20 23:31:39 +01:00
Patrik J. Braun
6b24436c22 Implementing basic autocomplete for advanced search #58 #237 2021-03-20 20:15:49 +01:00
Patrik J. Braun
8afd49c588 adding minimal autocomplete 2021-03-20 14:37:56 +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
7ab2d9e62d Fixing reference issues 2021-03-14 17:45:32 +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
33b6fbf624 Implementing basic advanced search query stringifyer 2021-01-31 12:51:48 +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
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
03789ecaf8 improving benchmark 2020-12-28 22:08:57 +01:00
Patrik J. Braun
fb39fb5854 fixing ErrorDTO during request saving 2020-12-27 22:32:26 +01:00
Patrik J. Braun
b37d4ec8c8 Improving notification and CSRF error logging 2020-12-27 18:57:02 +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
Patrik J. Braun
4022c04f33 Adding indexed only settings to jobs 2020-09-13 12:41:17 +02:00
Patrik J. Braun
e619b73da2
Update Config.ts 2020-09-10 19:41:11 +02:00
Patrik J. Braun
fad595923a
Update Config.ts
fixing uptime
2020-09-10 19:40:44 +02:00
Patrik J. Braun
73a8c4202a Implementing custom folder sorting, by adding support for pg2conf metafiles. Fixes: #177 2020-09-06 17:07:40 +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
aa2f8451a6 adding config to disable memory db fallback. #163 2020-09-05 19:09:25 +02:00
Patrik J. Braun
4cb3a55362 Adding default trash folders to the folder exclusion list #161 2020-09-05 18:48:06 +02:00
Patrik J. Braun
e9468c154a Hiding faces for guest users (sharing link). Fixes: #149 2020-09-05 16:06:11 +02: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
c6c4210dd2 improving settings documentation 2020-02-07 13:59:36 +01:00
Patrik J. Braun
c13e90dca6 improving config change detection on switches 2020-02-06 23:57:59 +01:00
Patrik J. Braun
f4e93c07c8 improving config saving 2020-02-06 23:03:29 +01:00
Patrik J. Braun
5908bed64f fixing settings saving bug 2020-02-06 22:46:45 +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
bf784d1b1c fixing config env alias 2020-01-28 22:54:02 +01:00
Patrik J. Braun
4e3f464cf8 upgrading to typeconfig2.0 2020-01-28 18:36:52 +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
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
9516fba85b adding missing translations, improving phone settings phone view 2019-12-30 17:10:01 +01:00
Patrik J. Braun
3e060e2b8d improving job settings ui 2019-12-29 16:43:43 +01:00
Patrik J. Braun
6c458e2dbb tweeking thumbnail generation sizes
fixing thumbnail selection algorithm
2019-12-29 12:09:08 +01:00
Patrik J. Braun
cc83dc718d creating backend text for jobs 2019-12-29 10:24:47 +01:00
Patrik J. Braun
95a50b4936 fixing test issues 2019-12-29 09:34:08 +01:00
Patrik J. Braun
ddb734e64a implementing job history saving 2019-12-29 00:35:41 +01:00
Patrik J. Braun
0c81cbce4b improving jobs 2019-12-28 11:58:40 +01:00
Patrik J. Braun
08e3937292 adding indexedOnly option to fileJobs 2019-12-27 19:45:11 +01:00
Patrik J. Braun
8b6a367257 adding job last run status 2019-12-27 00:24:44 +01:00
Patrik J. Braun
509a398639 implementing after trigger 2019-12-26 23:30:46 +01:00
Patrik J. Braun
e2864117b2 implementing TempFolderCleaningJob 2019-12-26 21:03:10 +01:00
Patrik J. Braun
5ec9171ddf renaming tasks to jobs 2019-12-24 12:22:25 +01:00
Patrik J. Braun
d38d0f01bf adding git commit hash and built time to release package.json and showing it at admin 2019-12-24 00:25:39 +01:00
Patrik J. Braun
63fd2ff079 modifying dokcerfiles 2019-12-23 00:36:20 +01:00
Patrik J. Braun
a80297ce0c adding thumbnail task 2019-12-15 15:36:05 +01:00
Patrik J. Braun
5160e19a35 improve settings 2019-12-15 14:40:31 +01:00
Patrik J. Braun
95b06ffc63 improving setting ui 2019-12-15 10:52:56 +01:00
Patrik J. Braun
cd06bc00ec implementing photo downscaling
project and config refactoring
Warning: braking changes in the config
2019-12-14 17:27:01 +01:00
Patrik J. Braun
fbdbafaa9a refactoring Dockerfiles, adding arm32v6 support 2019-12-14 10:16:17 +01:00
Patrik J. Braun
f8b4e1c968 improving configs 2019-12-13 15:10:17 +01:00
Patrik J. Braun
8479be8aaa fixing spelling 2019-12-12 19:11:49 +01:00
Patrik J. Braun
506dd799f5 fixing config-only check error 2019-12-12 15:31:50 +01:00
Patrik J. Braun
2757af6bf0 adding config only mode 2019-12-12 11:04:20 +01:00
Patrik J. Braun
2ac0eaa57a improving task management 2019-12-11 17:02:02 +01:00
Patrik J. Braun
f2faa4cd25 fixing format dot 2019-12-11 10:40:20 +01:00
Patrik J. Braun
8a82ec49c5 adding more supported video formats 2019-12-11 10:39:39 +01:00
Patrik J. Braun
4208fe7f1f refactoring config file
fixing task setting issue
2019-12-10 16:17:35 +01:00
Patrik J. Braun
be25b9e068 minor bugfixes 2019-12-10 14:50:20 +01:00
Patrik J. Braun
00d3ae55e7 adding not support video format warning 2019-12-10 12:50:02 +01:00
Patrik J. Braun
358a7834e0 restucturing project 2019-12-10 10:44:35 +01:00