Michael Mayer
a57ca79663
Improve settings page #288
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 16:05:57 +02:00
Michael Mayer
77cea5d719
Implement score to sort photos by quality #288
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 13:21:18 +02:00
Michael Mayer
e55df7ed37
Backend: Add PhotoFavorite to geo json response
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 10:07:13 +02:00
Michael Mayer
ae3b5a7978
Add "photoprism status" command to check server health
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 10:27:48 +02:00
Michael Mayer
122e4730a3
Select primary file for grouped photos
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-21 10:23:27 +02:00
Michael Mayer
f31c405475
Merge photo updated event results
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-21 02:10:59 +02:00
Michael Mayer
360c87c348
Show grouped photos in search results
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-20 20:07:58 +02:00
Michael Mayer
2a83645ce8
API: Rename selection.go to batch.go
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-20 17:59:05 +02:00
Michael Mayer
4bd0ca4ac6
Keep sessions for 7 days
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-20 13:50:28 +02:00
Michael Mayer
f70b506f77
Albums: Save sort order and description
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-20 10:38:01 +02:00
Michael Mayer
b31508e4f3
Refactor & improve editing of photo labels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-19 01:13:55 +02:00
Michael Mayer
f07064c2c3
Refresh titles, labels and locations
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-18 23:20:54 +02:00
Michael Mayer
20a5912210
Rename, remove and re-activate labels
...
Still need to fix label names when re-indexing so that custom names are used, if changed by the user.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-17 21:20:38 +02:00
Michael Mayer
e3f614bc23
Backend: Update photo title when location or labels change
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-16 20:57:00 +02:00
Michael Mayer
855781658b
Add library settings #283
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 13:13:45 +02:00
Michael Mayer
fc95caaf06
Frontend: Improve library UX
...
Hints still need translations and options should be saved, so that they don't change when you reload the page.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 09:03:52 +02:00
Michael Mayer
c2fa3a7246
Add common feature flags incl upload #284
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-13 18:08:21 +02:00
Michael Mayer
47814e2fde
Initial stub for feature flags in settings #284
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-12 18:00:31 +02:00
Michael Mayer
a8c48ab40e
Initial API and entities for link sharing
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-08 13:24:06 +02:00
Michael Mayer
b020b4e415
Sync: Ignore unsupported file types #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-07 10:42:42 +02:00
Michael Mayer
b5ee4625a6
Backend: Replace export with temp directory #276
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-06 22:50:04 +02:00
Michael Mayer
9b7a5d69d4
Sharing: Instantly trigger upload #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-06 16:15:19 +02:00
Michael Mayer
aa220a06fe
Backend: Refactor package structure
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-05 22:26:53 +02:00
Michael Mayer
c882b56f82
Sync: Download remote files #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-04 17:19:34 +02:00
Michael Mayer
3de78e3124
Sharing: Delete expired files #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-04 13:53:52 +02:00
Michael Mayer
2e5840f3b0
Implement share worker #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-03 18:08:49 +02:00
Michael Mayer
15d32016c6
Sharing: Refactor API and entities #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-02 18:17:07 +02:00
Michael Mayer
1adc144ac2
Backend: Insert shared file into files_share table #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-01 18:17:29 +02:00
Michael Mayer
86432c9974
Backend: Fix formatting issue in account API #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-01 13:07:44 +02:00
Michael Mayer
91b1d7a198
WebDAV sharing proof-of-concept #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-01 12:00:45 +02:00
Michael Mayer
5f91d0d17b
Add photo share dialog for WebDAV #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-31 17:26:25 +02:00
Michael Mayer
b592e67dfa
Frontend: Improve account management #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-29 21:24:44 +02:00
Michael Mayer
a9ece37feb
Backend: Enable service discovery in API #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-29 12:02:01 +02:00
Michael Mayer
7f2cfc8446
Backend: Create settings.yml if not exists
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 21:44:30 +01:00
Michael Mayer
9f4a5e7170
Backend: Add account API test #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 18:01:50 +01:00
Michael Mayer
1d667ada79
Backend: Add account API #225
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 15:29:17 +01:00
thielepaul
1d89858e4c
Backend: Add API endpoint for getting files by sha1 hash ( #259 )
...
* Backend: Add API endpoint for getting files by sha1 hash
* Test: Add test for Api.GetFile
2020-02-26 17:50:28 +01:00
ifedorenko
d43255885c
Serialize websocket writes with a mutex ( #256 )
...
Fixes #241
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2020-02-21 01:58:40 +01:00
Michael Mayer
491751f4fc
Frontend: Fixed infinite scroll and reload
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 14:51:48 +01:00
Michael Mayer
3e6c85feb2
Labels: Publish labels.created event
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 11:38:43 +01:00
Michael Mayer
e02cbe1b10
Labels: Add context menu
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 05:18:22 +01:00
Michael Mayer
cf5c0db1d3
Albums: Optimize push updates
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 01:39:53 +01:00
Theresa Gresch
2509952992
Test: Add test for api/preview
2020-02-03 15:50:46 +01:00
Theresa Gresch
000735188c
Test: Add test for api/photo_thumbnail
2020-02-03 15:50:25 +01:00
Theresa Gresch
8ddc758504
Test: Add test for api/photo
2020-02-03 15:50:05 +01:00
Theresa Gresch
879466371e
Test: Add test for api/photo_search
2020-02-03 15:49:49 +01:00
Theresa Gresch
63b5d62813
Test: Add test for api/photo_label
2020-02-03 15:49:32 +01:00
Theresa Gresch
4714b50a8f
Test: Add test for api/label
2020-02-03 15:49:14 +01:00
Theresa Gresch
b6967671c7
Test: Add test for api/moments_time
2020-02-02 19:40:05 +01:00
Theresa Gresch
8d95900435
Test: Add test for api/label
2020-02-02 19:39:49 +01:00
Theresa Gresch
c4f4d1e578
Test: Add test for api/geo
2020-02-02 18:41:36 +01:00
Theresa Gresch
47ae1e2b65
Test: Add test for api/download
2020-02-02 18:41:18 +01:00
Theresa Gresch
c647908d3d
Test: Add test for api/album
2020-02-02 18:41:03 +01:00
Theresa Gresch
14f7702d4f
Test: Add test for api/album
2020-02-02 15:50:33 +01:00
Michael Mayer
4efa383c57
API: Proof-of-concept for form handling
...
We don't want to directly write to models so that only selected fields can be changed and values can be validated for security reasons.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-02 03:36:00 +01:00
Michael Mayer
1cbb0a6d56
Labels: Edit name in overview #212
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-02 02:00:47 +01:00
Michael Mayer
90dd094a21
Sharing: Add accounts table #11
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-02 00:31:09 +01:00
Michael Mayer
17e1fb0f8a
Docker: Fix demo after renaming import command
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-31 17:29:55 +01:00
Michael Mayer
a4e2867c86
Split import command into copy and move
...
Upgraded JS dependencies and did some refactoring along the way...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-31 15:29:06 +01:00
Michael Mayer
ceb7d258fe
Push updates: Add event types for photos & albums
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-30 18:19:26 +01:00
Michael Mayer
11c3ed70e3
Photo edit: Publish event to keep clients in sync
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-30 09:51:23 +01:00
Michael Mayer
d9ec032371
Photo edit: Refresh view after saving
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-30 06:17:02 +01:00
Michael Mayer
777526ce82
Upload: Refactor UX
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-30 01:53:18 +01:00
Michael Mayer
183ebd3f03
Backend: Add FileError col to files table #202
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-29 17:41:51 +01:00
Michael Mayer
bdf976abd7
Edit photo: Add and remove labels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-29 15:28:20 +01:00
agolebiowska
81a587aa19
Backend: Support encrypted password ( #231 )
...
See issue #221 , only handles bcrypt
2020-01-28 11:04:10 +01:00
Michael Mayer
d3330877d1
Frontend: Refactor photo model to use primary file as preview #212 #217
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-24 01:33:04 +01:00
thielepaul
f6a611bded
Backend: Add API endpoint for photo count per month #152 #154 #218
...
* Backend: Add API endpoint for photo count per month
* URL: /api/v1/moments/time
2020-01-23 20:05:54 +01:00
Michael Mayer
b49d581850
API: Refactor album & photo not found messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-23 10:16:18 +01:00
Michael Mayer
9da3456813
Refactor API error messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-23 10:10:32 +01:00
Michael Mayer
2f4840f9c2
Only send full clientConfig if authenticated #216
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-23 07:39:04 +01:00
Michael Mayer
7342d5194a
Add Websocket authentication #216
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-22 16:54:01 +01:00
Michael Mayer
f569c3adb6
Require password for all pages (if not running in public mode)
...
See https://github.com/photoprism/photoprism/issues/167#issuecomment-574866401
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-22 13:43:07 +01:00
Michael Mayer
11067b1ae5
Backend: Improve http log messages #194
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-21 15:12:26 +01:00
Michael Mayer
5c0a2b70ef
Backend: Disable WS origin check #209
...
Doesn't add much security, need to implement other auth for WS
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-20 20:47:19 +01:00
Michael Mayer
09bac902d0
Code clean-up (make fmt)
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-15 19:59:25 +01:00
Michael Mayer
8a476edc2a
Maps: Fix marker positions and refresh after loading #199
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-15 19:45:54 +01:00
Michael Mayer
c31470dafb
Initial code for new Places UI
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-15 04:04:33 +01:00
Michael Mayer
e184cad553
Backend: Add thumb config options and lower defaults #157
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-13 11:07:09 +01:00
Michael Mayer
f8a45b14d9
Backend: Move reusable packages to pkg/
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-12 14:00:56 +01:00
Kelvin
cd7339d8a0
[Minor/Wording] Update photo.go url route docs ( #186 )
...
Minor change.
2020-01-10 10:43:51 +01:00
Michael Mayer
17d7551be5
Frontend: Rename "archive" to "hide" for soft delete #185
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-09 02:09:54 +01:00
Michael Mayer
e9874d6e0c
Backend: Compile labels into source #160
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-09 01:21:09 +01:00
Michael Mayer
182b169ac0
Backend: Improve thumbnail rendering #157
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-08 22:29:40 +01:00
Michael Mayer
719fd1a811
Backend: Use mutex in convert so that it can be canceled
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-08 20:51:49 +01:00
Michael Mayer
b37d4472e4
Backend: Use original file if thumb size exceeds limit #172
...
Plus some mutex and config refactoring along the way...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-08 19:51:21 +01:00
Michael Mayer
c147eee30f
Backend: Add stub for meta package #172
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-07 17:36:49 +01:00
Michael Mayer
f6d4e62ea8
Backend: Split up "util" package
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 15:22:46 +01:00
Michael Mayer
e43983d579
Backend: Refactor thumbnail package #157
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 14:32:15 +01:00
Michael Mayer
5ec2d9e9a4
Backend: Add config parameters #99 #157 #180
...
This commit adds config parameters for thumbnail quality, max thumbnail size and geocoding api as well as a flag to to disable TensorFlow.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 06:59:35 +01:00
Michael Mayer
10b143f8ae
Implement restore for hidden (deleted) photos #167
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 05:45:03 +01:00
Michael Mayer
f89a3d7bb1
Backend: Rename repo
package to query
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-05 14:18:40 +01:00
Michael Mayer
e27835fb21
Backend: Fix import / index bugs
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 07:56:56 +01:00
Michael Mayer
4263061a89
Backend: Fix index events after refactoring
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 05:38:21 +01:00
Michael Mayer
b87465f776
Backend: Fix index API after refactoring
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 05:28:40 +01:00
Michael Mayer
057204d379
Backend: Major code refactoring
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 05:03:47 +01:00
Michael Mayer
32fdb72ac9
Backend: Code clean-up
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 04:08:33 +01:00
Michael Mayer
c74bb7d13a
Import: Use goroutines and channels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 03:57:28 +01:00
Michael Mayer
d5d3fa8131
Indexer: Use goroutines and channels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 02:58:26 +01:00
Michael Mayer
bdf0cde8a6
Backend: Add session package #169
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 09:48:36 +01:00