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

371 Commits

Author SHA1 Message Date
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
f8606df759 Fixing search text position on the navigation bar. 2022-12-09 23:07:50 +01:00
Patrik J. Braun
a5b69dd999 Improving frame design 2022-12-09 23:06:01 +01:00
Patrik J. Braun
839d129e05 Adding missing lightbox.service.ts #544 2022-12-09 22:59:26 +01:00
Patrik J. Braun
594fc2e8b7 Add config to enable video looping fixes #544 2022-12-09 22:48:13 +01:00
Patrik J. Braun
a4cdbc9b1c Adding URL base to language selector. #548 2022-12-09 22:29:15 +01:00
Patrik J. Braun
9b56331f50 Creating def. sorting for search results. fixes #566 2022-12-09 22:17:54 +01:00
Patrik J. Braun
5023299912 Hide controls by default and create menu to force caption and faces to show, fixes #394 2022-12-08 23:54:08 +01:00
Patrik J. Braun
79903c8182 Fixing job progress freshness 2022-12-05 19:37:15 +01:00
Patrik J. Braun
9fb5951891 Change Images text to Home #554 2022-11-21 21:49:03 +01:00
Patrik J. Braun
868d812041 fixing admin UI 2022-11-21 20:49:10 +01:00
Patrik J. Braun
baf426ff76 thumbnail.settings.component.ts should use the same settings as ThumbnailGenerationJob.ts
#534, #458, #552
2022-11-21 19:59:29 +01:00
mrtnbr
89cbac99f8
Update thumbnail.settings.component.ts 2022-11-09 11:53:33 +01:00
Sean Moore
a81a96f30a Fix problem with unconstrained number of decimal digits for exposure value in info-panel
The photo exposure value will often overrun the focal length value in the info-panel when the number
of decimal digits is more than a few long. By convention, there shouldn't be any decimal digits in the
denominator so this fix rounds the denominator value before display. In addition, this fix increases
the number of decimal digits read from the photo exif metadata to improve the precision of the exposure value
to match what exiftool and other exif viewers display.
2022-09-01 15:38:20 -07:00
andreas
68f677f63e encoding of question mark character for media path 2022-07-20 22:04:54 +02:00
Patrik J. Braun
c06620a795 Implementing next photo preloading
#134

Also fixing play button animation.
2022-06-26 09:56:13 +02:00
Patrik J. Braun
d0b609b416 Adding missing bestFit url ending to gpx file request
#504
2022-06-25 23:06:42 +02:00
Patrik J. Braun
ca0579cefd Implementing GPX compression job
#504
2022-06-25 20:57:45 +02:00
Patrik J. Braun
19e23133f2 Adding gpx compression buttons to the settings
#504
2022-06-24 23:15:48 +02:00
Patrik J. Braun
3bff1a4383 Implementing on-the-fly GPX compression.
Its a lossy compression that can be finetuned in the config.

#504
2022-06-24 22:59:08 +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
Jacob Roeland
f861d5b854 Typo: replace "an other" with "another" 2022-05-05 23:19:59 -04:00
mcdamo
986496786a Use UTC for displaying image timestamps
Fixes #469
2022-04-28 17:44:38 +10: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
6745b40241 Removing debug logging 2022-03-26 14:14:05 +01: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
346590f651 refactoring map service: Using leaflet's LatLngLiteral interface 2022-03-12 00:00:49 +01:00
Patrik J. Braun
82aaa614b3 refactoring gpx marker (waypoints) on map 2022-03-11 23:54:55 +01:00
Patrik J. Braun
ec8b287c9f
Merge pull request #456 from zigmhount/gpx_wpt_mappoints
Gpx wpt mappoints with infinite loop fix
2022-03-11 23:51:28 +01:00
zigmhount
cd541e3fe0
Fixed infinite loop
Replaced `i` with `wpt_i` in `wpoints_loop`!
2022-03-11 23:09:14 +01:00
zigmhount
bc7ffb39b5
Dirty fix for infinite loop
Changed back `continue wpoints_loop` to `break wpoints_loop` because it causes an infinite loop once `wpt_i` reaches `wpoints.length` and `wpoints[wpt_i]` is undefined , yet it continues to loop for some reason. Break is not nice because there could be defined values for bigger wpt_i 
Attempt to understand why with `console.log(wpoints.length)`.
2022-03-11 23:01:28 +01:00
Patrik J. Braun
9104db695f
Merge pull request #452 from zigmhount/gpx_wpt_mappoints
Gpx wpt mappoints
2022-03-11 23:00:15 +01:00
zigmhount
92f346b1ca
Cleaned up
Removed unnecessary comments; replaced `break wpoints_loop` with `continue wpoints_loop` which caused infinite loops, let's see if it still happens and if I can fix it...
2022-03-11 22:49:56 +01:00
Patrik J. Braun
6ed0401312 fixing navigation bar dividers 2022-03-10 20:22:27 +01:00
zigmhount
f1a5c6c0ee
Refactor getMapCoordinates
Removed input parameter tagname, hardcoded instead the array tagnames=['trkpt,'wpt'] , and iterated through this array to get elements from the XML file at once and gather them in coordinates[ ] = [ track_path_points[ ], wpoints_points[ ] ].
2022-03-09 20:44:37 +01:00
zigmhount
5e56561576
Refactor loadGPXfiles()
Retrieve directly [path,wpoints] from getMapCoordinates[][]
2022-03-09 20:40:52 +01:00
zigmhount
ffa5ed687d
Replaced getMapPoints() and getMapPath() with getMapCoordinates()
Passing 'trkpt' or 'wpt' to getMapCoordinates() to handle both paths and waypoints from GPX files.
2022-03-09 16:34:57 +01:00
zigmhount
7928a07230
Refactored getMapPoints and getMapPath into getMapCoordinates
Added argument tagname to getMapCoordinates() to accept 'trkpt' or 'wpt';
replaced interfaces MapPoints and MapPath with MapCoordinates.
2022-03-09 16:31:54 +01:00
zigmhount
55c0e98df8
Merge branch 'bpatrik:master' into gpx_wpt_mappoints 2022-03-06 22:22:14 +01:00
zigmhount
7008bc9246
Plot markers for wpoints from MapPoints
In addition to path from getMapPath(), get wpoints from getMapPoints() and plot them on the marker layer.
Somehow the for loop `wpoints_loop` tends to continue infinitely, forcing stop with `break wpoints_loop` for now.
2022-03-06 22:16:23 +01:00
zigmhount
ac4a854917
Add getMapPoints() and MapPoints for GPX waypoints
Store waypoints from GPX files' <wpt> tags into MapPoints, while track points remain in MapPath.
2022-03-06 22:04:59 +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
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
Patrik J. Braun
211a5bd4dd showing gpx tracks in folders without a photo with gps position. #422 2022-02-27 19:07:00 +01:00
Patrik J. Braun
41ad14dffd Updating translations #438 2022-02-26 13:42:34 +01:00
Patrik J. Braun
2543fd9301 Fixing indexing job UI. 2022-02-25 16:56:28 +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
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
a749ba3a58 fixing settings value change detection 2022-02-05 10:58:24 +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
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
e607ae810a Forcing mysql to use utf8mb4 fixes #399 2022-01-14 12:14:28 +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
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
db9889ed2c fixing top bar design issues #339 2021-12-11 16:34:30 +01:00
Patrik J. Braun
7d70c71109 Refactoring basic setting saving. Fixes #311 #352 2021-12-11 16:24:07 +01: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
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
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
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
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
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
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
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
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
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
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
f6fd2ccc02 Improving zip folder download link 2021-05-08 09:06:56 +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
Patrik J. Braun
0c2a21145f rounding map icons 2021-05-04 22:18:27 +02:00
Patrik J. Braun
73d820d900 improving map: only loading map icon if visible 2021-05-04 22:10:24 +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
Patrik J. Braun
8b3f6ac64d setting persons on the suggestions list with higher priority 2021-05-04 21:32:25 +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
mcdamo
3425fba1e5 Use concatUrls 2021-05-03 22:23:04 +10:00
mcdamo
03fe522b17 Add urlBase to download link 2021-05-03 22:19:07 +10:00
Patrik J. Braun
1b359d44b1 Adding missing translations 2021-05-02 09:16:44 +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
Patrik J. Braun
491400523e improving map marker cluster design 2021-05-02 08:50:43 +02:00
Patrik J. Braun
058d99a0ed Fixing job progress css error 2021-05-02 08:17:06 +02:00
Patrik J. Braun
4b81189c87 fixing leaflet icon path 2021-05-01 19:35:18 +02:00
Patrik J. Braun
c10f4f6380 Improving lazy rendering. Making it based on row height instead of 70% of the scroll. 2021-05-01 00:05:03 +02:00
Patrik J. Braun
42744e3180 improving grid photo info box 2021-04-30 23:55:59 +02:00
Patrik J. Braun
f1b3a12bc4 Improving grid photo rendering performance for videos 2021-04-30 23:40:55 +02:00
Patrik J. Braun
494eab6f08 Adding cluster marker to map #256 2021-04-30 23:40:32 +02:00
mcdamo
6af288e77a Download zip folder 2021-04-29 00:11:18 +10:00
Patrik J. Braun
4f2b02b7e0 migrating maps to ngx-leaflet #256 2021-04-25 19:07:02 +02:00
Patrik J. Braun
f0f47f96bb Disabling searching with shared link #269 2021-04-23 17:54:43 +02:00
Patrik J. Braun
90a6c4b6b1 Fixing publicUrl settings #264 2021-04-19 23:56:44 +02:00
Patrik J. Braun
cb8a2d86a6 Merge remote-tracking branch 'origin/master' 2021-04-19 20:10:54 +02:00
Patrik J. Braun
d9bd588b1a replacing ng2-cookies to ngx-cookie-service 2021-04-19 20:10:44 +02:00
Wdavery
7a1600901f
Update share-login.component.css 2021-04-19 12:32:44 -04:00
Wdavery
f87d8ad413
Update login.component.css 2021-04-19 12:32:03 -04:00
Patrik J. Braun
8ec734dfb7 Fixing missing hammerjs module (fixes mobile touch support) #144
It is needed since angular 9.

Tested on Pixel4, Ipad Air
2021-04-19 17:26:35 +02:00
Patrik J. Braun
567f81b2aa Improving photo rendering during ligthbox navigation (preview mode) #207 2021-04-19 16:59:25 +02: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
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
07012ebd3c Adding baseUrl to /api/person path #264 2021-04-19 15:12:27 +02:00
Patrik J. Braun
6810c7a24a Fixing atocomplete/ "." searching error, by disabling it. 2021-04-19 15:01:28 +02:00
Patrik J. Braun
7340246d2d Fixing search bar alignment issue for IE11 2021-04-18 23:47:07 +02:00
Patrik J. Braun
085d7c2cd9 fixing linting erros. adding tslint to pretest 2021-04-18 15:48:35 +02:00
Patrik J. Braun
2223c87b9e Updating translations to use angular's $localize #255 2021-04-17 20:06:17 +02:00