Commit graph

454 commits

Author SHA1 Message Date
Michael Mayer
2794fec513 Fix JS session test #216
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-22 17:07:50 +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
48f849472e Frontend: Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-21 16:56:26 +01:00
Michael Mayer
f8c60fad7a Frontend: No edit button if album name is empty
Should not happen

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-21 16:49:59 +01:00
Michael Mayer
88e0b50aaa Frontend: Improve Onyx theme
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-20 17:52:49 +01:00
Michael Mayer
abeb2d16f8 Frontend: Fix acceptance tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-20 12:36:12 +01:00
Michael Mayer
c8383ce241 Frontend: Improve Onyx theme
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-20 12:20:54 +01:00
Michael Mayer
ab369eb75e Frontend: Add "Onyx" theme
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-19 19:12:18 +01:00
Michael Mayer
63d8aedfbe Frontend: Set max zoom for fitBounds to 17
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-17 02:16:24 +01:00
Michael Mayer
9bdfeaabeb Frontend: Set max zoom for fitBounds to 16
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-17 02:11:31 +01:00
Michael Mayer
3671cf078f Frontend: Set max zoom for fitBounds to 15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-17 02:05:48 +01:00
Michael Mayer
0e1382cb67 Frontend: Increase map bounding box padding to 100 2020-01-15 20:28:29 +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
d9c68fa933 Frontend: Don't update markers while loading
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-15 16:48:54 +01:00
Pim Snel
c2b90b1faa Add dutch translation (#198) 2020-01-15 13:38:58 +01:00
Michael Mayer
317ef92c42 Frontend: Remove existing markers after finding new results
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-15 06:12:33 +01:00
Michael Mayer
fc3a83e5cd Frontend: Don't fit bounds when search is cleared
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-15 04:49:49 +01:00
Michael Mayer
96d87ac6f7 Frontend: Increase build size limit
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-15 04:13:52 +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
6536b9e771 Frontend: Upgrade dependencies in package.json
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-09 03:00:33 +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
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
fb82749447 Frontend: Change sort order defaults
See https://twitter.com/browseyourlife/status/1213498860133343234

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 00:16:16 +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
7d5bc0619e Add "experimental" feature flag #152 #153 #154
Use this flag to test new features before they are stable.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-30 12:38:11 +01:00
Michael Mayer
5c7b3b471a Frontend: Update info for new discover area #153
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-29 15:43:48 +01:00
Michael Mayer
f24a1b0e66 Frontend: Remove rounded corners from colors #153
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-29 15:40:40 +01:00
Michael Mayer
843ac27e4a First draft for a "Discover" area #153
It should enable users to find photos by similarity, by color, by season or just randomly.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-29 15:35:23 +01:00
Michael Mayer
9f29b2eb90 Frontend: Fix year filter
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 23:10:01 +01:00
Michael Mayer
a66d0887bd Add lens, category, color and year search filters
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 23:06:44 +01:00
Michael Mayer
8e8642cb08 Themes: Rename "charcoal" to "moonlight"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 21:32:03 +01:00
Michael Mayer
b3f8fb76bf Frontend: Disable tile view for simplicity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 21:31:14 +01:00
Michael Mayer
ca8cfffc24 Backend: Prepare database for advanced filtering and grouping #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 20:24:20 +01:00
Michael Mayer
f80bd63e20 Frontend: Improve "add to album" dialog
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 10:37:54 +01:00
Michael Mayer
84a72104d5 Frontend: Enable history mode for photo viewer
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 10:36:52 +01:00
Michael Mayer
04cb2be1d4 Frontend: Edit album name
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 07:02:49 +01:00
Michael Mayer
366c70d992 Optimize performance and data structures
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 05:18:52 +01:00
Michael Mayer
a732ea11e1 Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-24 07:00:40 +01:00
Michael Mayer
8e15c1d6fd Code clean-up (make fmt)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-21 17:24:29 +01:00
Michael Mayer
974880401e Frontend: Make new albums favorite by default and refresh navigation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-21 17:18:47 +01:00
Michael Mayer
fc1100ba0b Frontend: Change default name of new albums
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-21 17:08:40 +01:00
Michael Mayer
1e7c0c2435 Backend: Improve location hashing and categories
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-20 23:05:44 +01:00
Michael Mayer
f3cf300590 Backend: Refactor location entity and indexer
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-20 20:23:16 +01:00
Michael Mayer
8c691f4938 Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-18 14:30:39 +01:00
Michael Mayer
7e137e4ebd Places: Set default zoom to 12
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-18 08:23:04 +01:00
Michael Mayer
380bc4ec6c Places: Don't update params for small changes
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 17:15:59 +01:00
Michael Mayer
82a02e5032 Places: Don't query for small position changes
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 17:12:29 +01:00
Michael Mayer
a965850f08 Places: Fix issue that prevents opening images
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 15:44:02 +01:00
Michael Mayer
f39d34b43a Places: Improve UX
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 15:28:54 +01:00