Varun Patil
1751ad7d80
map: add migration
2023-02-09 00:35:35 -08:00
Varun Patil
85f3d635c6
map: show preview of coarse
2023-02-08 23:36:31 -08:00
Varun Patil
e7c8748cc9
draft: eager clustering
2023-02-08 21:55:12 -08:00
Varun Patil
74e69d0d6f
tq: fix typing
2023-02-08 17:45:55 -08:00
Varun Patil
64d4205346
map: refactor
2023-02-08 14:00:56 -08:00
Varun Patil
7d90aeacb1
map: restore functionality
2023-02-08 13:35:42 -08:00
Varun Patil
bcc35d6132
Merge branch 'RaymondHuang210129-location' into map
2023-02-08 11:44:51 -08:00
Varun Patil
4d94353406
Merge branch 'location' of https://github.com/RaymondHuang210129/memories into RaymondHuang210129-location
2023-02-08 11:43:52 -08:00
Raymond Huang
0987ab95c5
feat: improve marker clustering logic
2023-02-09 02:52:53 +08:00
Varun Patil
99ce1fcfd6
map: add migration
2023-02-08 10:45:25 -08:00
Varun Patil
c6edd10c85
Merge branch 'location' of https://github.com/RaymondHuang210129/memories into RaymondHuang210129-location
2023-02-08 10:12:40 -08:00
Raymond Huang
7d01849f8e
feat: show clusters of photos on the map
2023-02-08 11:59:04 +08:00
Varun Patil
e32f934fd2
tw: improve place error handling
2023-02-07 19:48:19 -08:00
Varun Patil
df359bc099
tw: rename updateGeoData
2023-02-06 07:38:30 -08:00
Varun Patil
6c9d2d12c5
tw: add missing execute to geo
2023-02-06 07:38:07 -08:00
Varun Patil
24c0956b20
places: fix inners for postgres
2023-02-06 07:36:29 -08:00
Varun Patil
a0280aea73
places: handle inner rings
2023-02-06 07:30:04 -08:00
Varun Patil
75de618f56
places: fix for postgres
2023-02-05 22:23:44 -08:00
Varun Patil
b25731e9ac
places: hide when not configured/enabled
2023-02-05 19:55:39 -08:00
Varun Patil
bae5f99b2b
meta: use places
2023-02-05 19:46:44 -08:00
Varun Patil
c3fa9f0d4c
lint: fix php
2023-02-05 18:47:10 -08:00
Varun Patil
2c510b12b8
tw: clear places on delete
2023-02-05 18:34:54 -08:00
Varun Patil
a074f158d3
geo: new adaption
2023-02-05 18:29:09 -08:00
Varun Patil
24e70a7e06
Add WIP table creation
2023-02-05 17:15:18 -08:00
Varun Patil
62579b1b89
Initial places implementation
2023-02-05 13:43:25 -08:00
Varun Patil
7f21e8802d
tq: fix debugger for array
2023-02-05 12:41:36 -08:00
Matias De lellis
3b29328377
Fix FaceRecognition integration doesn't work with postgresql database.
...
Following the discussion in #304 , I tried this solution using the
strict mode of mariadb/mysql.
Split the Clusters and People queries to minimize the considerations
of both functions. Otherwise I had to add many nested ifs.
Also change to only show 15 clusters (as a small optimization) since
there is no point in showing everything, and it is better to show these
little by little.
2023-02-02 22:28:59 -03:00
Raymond Huang
93b4b0274e
Merge branch 'master' into location
2023-02-01 12:18:42 +08:00
Raymond Huang
750636de67
style: apply lint
2023-02-01 12:08:11 +08:00
Raymond Huang
ea289c4f02
style: remove unused code
2023-02-01 12:02:01 +08:00
Raymond Huang
60ee600c52
refactor: program as a transform insstead of duplication
2023-02-01 11:54:35 +08:00
Varun Patil
d6fba7e4a9
write: check array keys for exif filter ( fix #381 )
2023-01-28 08:53:01 -08:00
Varun Patil
25318b9402
write: fix getLivePhotoId call
2023-01-26 11:52:19 -08:00
Varun Patil
457ac16db1
livephoto: multiple trailers in Google ( fix #373 )
2023-01-26 10:50:41 -08:00
Raymond Huang
ea8d08eba7
style: apply php-lint
2023-01-26 08:48:17 +08:00
Raymond Huang
2bc2c50bee
fix: call withBound function in preloadDays
2023-01-26 07:23:46 +08:00
Raymond Huang
68a39918b5
feat: show photos taken in locations visible in map
2023-01-26 02:41:55 +08:00
Varun Patil
c59066ce0e
write: filter EXIF fields with whitelist ( fix #367 )
2023-01-22 16:51:26 -08:00
Varun Patil
0fae4d1ba9
Tab -> Space
2023-01-20 10:50:48 -08:00
Varun Patil
b18a098f47
index: allow cleaning up orphans ( fix #326 )
2023-01-17 20:52:26 -08:00
Varun Patil
24a3b8c638
Fix album public link ( fix #344 , fix #274 )
2023-01-17 19:02:00 -08:00
Varun Patil
816294b591
album: fix sharing with group ( fix #329 )
2023-01-15 14:43:48 -08:00
Varun Patil
37a26b8c31
write: cast video duration to float before round
2022-12-22 10:49:28 -08:00
Matias De lellis
aeffe628f2
Integration with facerecognition
2022-12-08 13:07:14 -08:00
Varun Patil
2011433536
albums: add download menu
2022-12-06 11:38:57 -08:00
Varun Patil
ceb2365cf5
lint: php
2022-12-04 20:05:05 -08:00
Varun Patil
c6a4b4e3e9
days: remove rootid from response
2022-12-04 20:04:48 -08:00
Varun Patil
604371c5cd
tag: design update
2022-12-04 18:52:29 -08:00
Varun Patil
d9c6d0a597
general: fix use of deprecated get methods
2022-12-04 09:57:31 -08:00
Varun Patil
355b74e19b
general: reduce more DI
2022-12-04 09:47:10 -08:00
Varun Patil
0ce283561e
tq: fix davPaths warning
2022-12-03 00:14:29 -08:00
Varun Patil
4f81eadb9b
albums: fix collabs table on 2.0.1
2022-12-02 23:54:09 -08:00
Varun Patil
1866ce5dfa
preview: fix for shared album
2022-12-02 21:42:52 -08:00
Varun Patil
1a9d229b95
general: add unified file get API
2022-12-02 20:07:06 -08:00
Varun Patil
22d20756d7
albums: don't pass connection for no reason
2022-12-02 19:23:29 -08:00
Varun Patil
474090017c
tags: make sorting case-insensitive ( fix #271 )
2022-11-30 06:31:45 -08:00
Varun Patil
240ca8a2b5
lint: fix whitespace
2022-11-29 09:04:09 -08:00
Varun Patil
7458478f93
Fix albums for Photos v2.2.0
2022-11-29 08:57:03 -08:00
Varun Patil
e2e5375e53
General cleanup
2022-11-28 15:19:26 -08:00
Varun Patil
94516d183b
Prevent log spam when missing mime ( #258 )
2022-11-25 07:36:23 -08:00
Varun Patil
4a80d94cb0
Fix double slash in filename ( #242 )
2022-11-24 07:52:19 -08:00
Varun Patil
f7c89e8789
Improve php typings
2022-11-23 18:28:34 -08:00
Varun Patil
b81d9c1df6
Delete livephoto entries on deletion
2022-11-23 10:40:41 -08:00
Varun Patil
271dd5b230
PHP lint fix
2022-11-23 04:53:16 -08:00
Varun Patil
573f5c3fad
Truncate livephoto on clear
2022-11-23 01:49:00 -08:00
Varun Patil
799a39f968
livephoto: add Google and Samsung support
2022-11-22 08:54:19 -08:00
Varun Patil
aded4275d1
livephoto: add API to get video
2022-11-22 03:31:31 -08:00
Varun Patil
ffbde874d4
Separate apple livephoto video part
2022-11-22 03:10:25 -08:00
Varun Patil
8358c74abb
Strip Nikon shotinfo
2022-11-22 02:46:48 -08:00
Varun Patil
9e91d1d435
write: check encoded json ( fix #220 )
2022-11-21 01:43:17 -08:00
Varun Patil
579984041a
albums: fix for multipath
2022-11-16 02:35:17 -08:00
Varun Patil
c3f874d4b4
PHP Lint
2022-11-16 02:30:51 -08:00
Varun Patil
0a0d1d9e52
Fix duplicate folders in CTE response
2022-11-16 01:49:03 -08:00
Varun Patil
3154de7ac9
Select rootid only for day query
2022-11-16 01:17:01 -08:00
Varun Patil
cd3fb4b897
Fix rootid warning
2022-11-16 00:23:57 -08:00
Varun Patil
bd89c9d355
Fix some errors
2022-11-16 00:16:07 -08:00
Varun Patil
a6ef3ac9bf
Add support for multiple timeline paths
2022-11-16 00:16:01 -08:00
Varun Patil
d9afbbe710
Refactor all calls to use TimelineRoot
2022-11-15 23:45:01 -08:00
Varun Patil
e9f67b24e6
Lint PHP
2022-11-15 21:45:52 -08:00
Varun Patil
46ac8cf55e
Fix archive rootid
2022-11-15 21:22:40 -08:00
Varun Patil
0c6d5a57b5
Fix filename of recursive mounts
2022-11-15 21:05:11 -08:00
Varun Patil
34340de5f1
big: recurse all mountpoints in timeline path
2022-11-15 07:12:27 -08:00
Varun Patil
c61edac55d
Fix error in info
2022-11-10 22:39:52 -08:00
Varun Patil
11afad852b
Lot of de-duplication
2022-11-09 22:19:44 -08:00
Varun Patil
0dc4784f1a
Restore metadata after image edit ( fix #174 )
2022-11-09 21:39:13 -08:00
Varun Patil
06d226432f
timeline: show video duration
2022-11-09 19:48:03 -08:00
Varun Patil
0fbe35db7d
Return exif in info call
2022-11-07 13:25:52 -08:00
Varun Patil
1d65a6dabe
Store exif meta in db
2022-11-07 13:13:16 -08:00
Varun Patil
5ce70faee1
php-lint
2022-11-06 20:49:33 -08:00
Varun Patil
6f3cb99ddb
Hide folders without photos ( fix #163 )
2022-11-06 20:48:10 -08:00
Varun Patil
80a76a5a48
Group months in album
2022-11-03 15:39:48 -07:00
Varun Patil
8698197ed5
Group by ID in tags (postgres)
2022-10-31 23:15:39 -07:00
Varun Patil
47461c9a8c
Single quote for string in SQL
2022-10-31 22:59:14 -07:00
Varun Patil
922e9a5c51
Store fileid as string (objectid) for tags ( #118 )
2022-10-31 20:56:26 -07:00
Varun Patil
defa30f547
Remove hardcoded mimetype ( fix #136 )
2022-10-31 20:21:21 -07:00
Varun Patil
4b75118f3c
Truncate for clear instead of delete
2022-10-29 21:28:42 -07:00
Varun Patil
705cb4fdbd
cmd: don't pass schema byref
2022-10-28 23:00:56 -07:00
Varun Patil
2c40f8d57e
Fix filename for shared folders
2022-10-28 18:29:28 -07:00
Varun Patil
cd2f714e92
Include filename in days
2022-10-28 18:11:58 -07:00
Varun Patil
9209b8f55d
Add basic folder share stuff
2022-10-28 17:25:39 -07:00
Varun Patil
f2d61c3e07
Fix shared album photo viewing
2022-10-28 14:26:56 -07:00
Varun Patil
a0d757adfc
Use separate tag preview endpoint
2022-10-27 13:26:51 -07:00
Varun Patil
46eb0fd97a
Fix debug fun
2022-10-27 12:58:47 -07:00
Varun Patil
de845bd543
Speed up tags
2022-10-27 12:54:51 -07:00
Varun Patil
759076c4ac
Use INNER JOIN for CTE
2022-10-27 09:19:25 -07:00
Varun Patil
038ba2eb87
Add shared albums
2022-10-27 02:36:20 -07:00
Varun Patil
9afd99de2a
Lint php
2022-10-27 00:53:44 -07:00
Varun Patil
9891a03d9e
Add album create dialog
2022-10-27 00:11:35 -07:00
Varun Patil
c9a2c8a021
Add album form
2022-10-26 23:37:56 -07:00
Varun Patil
8d97dc7914
Add albums transform
2022-10-26 21:33:37 -07:00
Varun Patil
50bb55536f
albums: add list
2022-10-26 21:33:37 -07:00
Varun Patil
294b3b8a0c
albums: initial commit
2022-10-26 21:33:37 -07:00
Varun Patil
bf04221a0a
Fix invalid type of excludedFolderIds
2022-10-26 11:13:58 -07:00
Varun Patil
d43fd807f9
Convert folderIds to int
2022-10-26 10:51:43 -07:00
Varun Patil
15db6da859
Pass only var by ref
2022-10-26 10:40:33 -07:00
Varun Patil
cfeebbf4fa
perf: add indices ( #114 )
2022-10-26 10:06:45 -07:00
Varun Patil
6d8f06c885
tag: get rid of windowing
2022-10-26 09:31:27 -07:00
Varun Patil
58e3b87cc4
Only check images for preview
2022-10-25 10:25:26 -07:00
Varun Patil
506ea05d8b
Add preview generator check to write
2022-10-24 17:47:25 -07:00
Varun Patil
fac08ae96d
Switch to CTE
2022-10-24 17:14:50 -07:00
Varun Patil
f2367ac7b7
Don't join facerect for days ( #105 )
2022-10-24 09:21:38 -07:00
Varun Patil
488ad4f574
tq: fix ambiguous column name
2022-10-22 08:40:41 -07:00
Varun Patil
67974878d9
Lint PHP
2022-10-20 20:53:38 -07:00
Varun Patil
ae5e24c74a
Improve face scoring
2022-10-20 20:52:47 -07:00
Varun Patil
fcd8c4c388
More lint
2022-10-19 10:15:14 -07:00
Varun Patil
26cb158b2e
Lint
2022-10-19 10:10:36 -07:00
Varun Patil
38ceddc609
Mark person in preview ( fix #79 )
2022-10-18 14:08:27 -07:00
Varun Patil
2f159d0949
faces: place unnamed clusters at the end ( fix #76 )
2022-10-18 08:02:56 -07:00
Varun Patil
3e54bc72c1
faces: crop with imagick ( #72 )
2022-10-17 10:41:58 -07:00
Varun Patil
8a2631ffff
Break ties in face/tag
2022-10-16 16:46:37 -07:00
Varun Patil
17e54825e1
query: add tie-breaker to days sorting
2022-10-16 12:18:31 -07:00
Varun Patil
c30a0828cb
Add w/h to day response
2022-10-15 12:23:31 -07:00
Varun Patil
41112ad641
Store image dimensions in table
2022-10-15 12:15:07 -07:00
Varun Patil
e81b7c6d59
Fix opening nameless faces
2022-10-10 17:17:42 -07:00
Varun Patil
6d99ad01d7
Catch transform errors
2022-10-07 23:46:08 -07:00
Varun Patil
6fcb3ba457
Use name for face fetching
2022-10-07 23:26:09 -07:00
Varun Patil
d40217604e
Use single query for tag previews
2022-10-07 19:09:05 -07:00
Varun Patil
991515e9e5
Get face previews in single query
2022-10-07 19:00:55 -07:00
Varun Patil
ff502b5068
Speed up tag thumb load
2022-10-07 17:57:48 -07:00
Varun Patil
d1e9205a54
Implement people tab for recognize 3 ( fix #43 )
2022-10-07 12:28:39 -07:00
Varun Patil
9dc4ae20cb
Explicitly sort tags
2022-10-07 11:06:16 -07:00
Varun Patil
5f3323529b
Fix tags response typing
2022-10-07 11:02:41 -07:00
Varun Patil
68a40ffbc7
Allow wildcard day query
2022-10-06 15:01:28 -07:00
Varun Patil
66f479844e
Add limit transform
2022-10-06 14:44:14 -07:00
Varun Patil
994320f78e
Add get tags API
2022-10-06 14:37:18 -07:00
Varun Patil
90ccce5477
Add systemtag transform
2022-10-06 14:19:47 -07:00
Varun Patil
b62e73735c
Allow querying multiple day ids
2022-10-06 12:24:45 -07:00
Varun Patil
373a02fd2c
Convert time to epoch in PHP ( #56 )
2022-09-27 14:39:54 -07:00
Varun Patil
d1339add77
Fix archive filter with external storage
2022-09-25 16:37:08 -07:00
Varun Patil
dc2615e107
Implement archive ( close #38 )
2022-09-25 16:02:26 -07:00
Varun Patil
1e297f86f4
Add single file exif update ( #42 )
2022-09-25 06:21:40 -07:00
Varun Patil
df7866b876
Clean up cursor when done
2022-09-25 04:30:28 -07:00
Varun Patil
373c398941
Drop uid column
2022-09-23 19:13:49 -07:00
Varun Patil
f5eeb1ae9d
Use storage for lookups
2022-09-23 18:54:14 -07:00
Varun Patil
463e57d98b
Remove underscore in date_taken
2022-09-14 15:48:17 -07:00
Varun Patil
a49d0ff1c9
Fix error on postgres ( fix #35 )
2022-09-14 15:47:26 -07:00
Varun Patil
111e408ebd
Use DISTINCT for selection
2022-09-14 15:36:06 -07:00
Varun Patil
91c6086896
sqlite: use delete for truncate
2022-09-13 15:05:26 -07:00
Varun Patil
77b1101bb3
Fix multiple entries in external share
2022-09-13 11:35:54 -07:00
Varun Patil
9c77a8f0c8
Fix category filter for shared folders
2022-09-13 11:25:24 -07:00
Varun Patil
be961b3fb4
Check external paths ( #30 )
2022-09-13 10:39:38 -07:00
Varun Patil
06ea3401fa
Add videos tab
2022-09-13 00:55:32 -07:00
Varun Patil
4ca6e3977c
Use flag for isvideo
2022-09-11 20:52:07 -07:00
Varun Patil
fa65f1866f
Show star on photos
2022-09-11 20:46:31 -07:00
Varun Patil
e8774b2aa4
Use correct category for favorites
2022-09-11 20:03:04 -07:00
Varun Patil
d4746abade
Add favorites note
2022-09-11 19:02:51 -07:00
Varun Patil
1d16da7235
Add favorites API
2022-09-11 18:33:38 -07:00
Varun Patil
ba2c3ecdd0
Minor stylistic change
2022-09-11 18:06:16 -07:00
Varun Patil
02fe4d936f
Refactor queries
2022-09-11 18:03:40 -07:00
Varun Patil
aeee6592b0
Use querybuilder in TimelineWrite
2022-09-10 19:22:57 -07:00
Varun Patil
48dc8c1a55
Use querybuilder for TimelineQuery
2022-09-10 19:05:04 -07:00
Varun Patil
91f329b7b8
Honor .nomedia in postlistener ( fix #5 )
2022-09-10 17:50:08 -07:00
Varun Patil
075ff4e006
Fix another byref error
2022-09-10 17:49:21 -07:00
Varun Patil
ed7898291e
Add clear flag for index ( fix #23 )
2022-09-10 17:15:40 -07:00
Varun Patil
3b80998d93
Fix another byref error
2022-09-10 15:32:49 -07:00
Varun Patil
23ccf41ebd
Fix byref errors
2022-09-10 15:31:11 -07:00
Varun Patil
21e25b1ecd
Allow refreshing index ( fix #18 )
...
Add the -f option to the index command
2022-09-09 08:07:05 -07:00
Varun Patil
af38c24198
Tab -> Space
2022-09-09 00:31:42 -07:00
Varun Patil
08dbabb3f2
Sort day folder by date taken
2022-08-23 09:59:56 +00:00
Varun Patil
0e207e6648
Write command stats at end
2022-08-23 09:35:51 +00:00
Varun Patil
7b7ea2b597
Remove comma after arg list ( #14 )
2022-08-22 18:48:35 +00:00
Varun Patil
16763904e1
Catch insert exception
2022-08-22 18:42:06 +00:00
Varun Patil
be2cdd6197
Catch exceptions with var ( #14 )
2022-08-22 18:16:05 +00:00
Varun Patil
829487cac7
WARNING: Change migrations to fit NC names
...
Okay, promise this is the last time
2022-08-20 21:28:41 +00:00
Varun Patil
522e1f5e1e
Refactor to more files
2022-08-20 02:53:21 +00:00
Varun Patil
14087e2732
Pass everything byref
2022-08-20 02:12:55 +00:00
Varun Patil
42b0a82e3f
Check handle before using it
2022-08-20 02:10:15 +00:00
Varun Patil
83f4db77e8
Refactor
2022-08-20 02:08:54 +00:00
Varun Patil
6b211499f9
Get rid of mysql specific syntax
2022-08-20 01:39:17 +00:00
Varun Patil
6b8f53e89b
Allow changing base folder ( fix #9 )
2022-08-20 00:18:10 +00:00
Varun Patil
af49dbb933
stream_copy_to_stream for exif
2022-08-19 21:53:57 +00:00
Varun Patil
4decbb91cb
Close proc pipes explicitly
2022-08-19 21:42:23 +00:00
Varun Patil
ebab5225e0
Fix two calls to exiftool
2022-08-19 21:38:18 +00:00
Varun Patil
0d03a9142c
Rename again to memories
...
Fix the migration directly because I'm the only user right now.
If this is a problem for you, drop the oc_polaroid table and the
corresponding index on the oc_filecache table.
2022-08-18 18:27:25 +00:00
Varun Patil
93bed9c1c2
Prevent invalid dates
2022-08-18 04:19:09 +00:00
Varun Patil
62fb0621a3
Fix some SQL weirdness
2022-08-18 03:23:41 +00:00
Varun Patil
0a3bfc096f
Fix timeline after move
2022-08-18 00:35:14 +00:00
Varun Patil
833ce737b7
Fix prefix ( fix #3 )
2022-08-17 23:56:14 +00:00
Varun Patil
68b28ed2ec
Implement includsion ( fix #1 )
2022-08-17 23:51:48 +00:00
Varun Patil
0e99d887d8
Update to use exiftool
2022-08-17 21:45:01 +00:00