Commit graph

543 commits

Author SHA1 Message Date
Michael Mayer
d4b6eb1929 Frontend: Set overscroll-behavior-y to contain #242
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-24 14:41:33 +01:00
Michael Mayer
1c5fbbb776 Frontend: Add -webkit-user-drag: none to body #242
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-23 21:51:07 +01:00
Michael Mayer
a1706a5922 Backend: Upgrade & improve Dockerfiles #263
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-23 20:29:31 +01:00
Michael Mayer
3aa465c779 Frontend: Upgrade dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-23 19:32:55 +01:00
Michael Mayer
d08428b0d5 Frontend: Upgrade JS dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-09 01:09:14 +01:00
Michael Mayer
5fba038442 Frontend: Set Modified* flags #243
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-07 17:24:24 +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
f57c6688a5 Upload: Publish photos.created event
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 13:11:18 +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
Michael Mayer
da0fd93c05 Albums: React to push updates
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 00:57:06 +01:00
Michael Mayer
a37072276c Frontend: Add margin to not found card
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 00:33:00 +01:00
Michael Mayer
1c934d48d3 Add ffmpeg and improve UX
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-03 23:40:45 +01:00
Michael Mayer
9c6fbf02c3 Frontend: Fix navigation after adding link to docs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-02 06:55:35 +01:00
Michael Mayer
a90aecea51 Frontend: Add link to documentation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-02 02:09:41 +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
d923746abb Edit photo: Show photo title in toolbar
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-01 21:11:12 +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
b3a50695c0 Frontend: Tweak theme colors
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-30 00:29:59 +01:00
Michael Mayer
d1ffc4e5db Edit photo: Improve files tab
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-29 19:12:31 +01:00
Michael Mayer
8171d4dfa2 Edit photo: Add label on enter
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-29 17:44:19 +01:00
Michael Mayer
91beb766fa Edit photo: Improve add and remove labels
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-29 16:49:42 +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
sashikknox
e594123a0c Add Russian translation (#230)
- add Russian option
- update translations.pot
- add some translations entries to p-photo-search.vue
2020-01-28 10:53:55 +01:00
Michael Mayer
73e9ac98db Edit Dialog: Disable sortable in labels tab #212
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-26 18:53:06 +01:00
Michael Mayer
e78e4af66d Frontend: Fix time zone select on smaller screens
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-26 18:45:15 +01:00
Michael Mayer
a4ba8bcda9 Frontend: Change position of F number in photo edit form #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-26 18:23:05 +01:00
Michael Mayer
a8af1f74a8 Frontend: Improve photo edit form #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-26 17:47:52 +01:00
Michael Mayer
601377d537 Frontend: Improve file list #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-26 16:06:03 +01:00
Michael Mayer
f56c2494ba Edit dialog: Implement stubs for files and labels #212 #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-24 11:27:35 +01:00
Michael Mayer
49b329d45c Edit dialog: Make additional fields savable #212 #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-24 10:25:08 +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
Michael Mayer
2f48dae860 Frontend: First draft for an edit dialog #212 #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-24 00:45:59 +01:00
Michael Mayer
5c913a422d Frontend: Themes can define context menu colors
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-23 12:11:54 +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
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
Michael Mayer
cf0ea597c4 Frontend: Change position of refresh in labels overview
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 08:15:35 +01:00
Michael Mayer
e579a336b1 Frontend: Always show buttons in albums and labels overview
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 08:13:30 +01:00
Michael Mayer
ed182537f1 Frontend: Add button to show all labels
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 07:13:09 +01:00
Michael Mayer
4ab44c5c23 Frontend: Add photos to new album
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 04:39:23 +01:00
Michael Mayer
1cc8cefc92 Labels: Add cache, fix bugs & improve SQL queries
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 23:33:52 +01:00
Michael Mayer
12294ef703 Frontend: Show recently imported first in sort order dropdown
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 13:07:32 +01:00
Michael Mayer
6af94adc8d Frontend: Change photo default order from "newest" to "imported"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 01:12:05 +01:00
Michael Mayer
252d1545fb Frontend: Revert title of "Places"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 01:11:08 +01:00
Michael Mayer
8d7161d279 Frontend: Add NSFW info to upload form
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 17:38:15 +01:00
Michael Mayer
016d90054e Backend: Implement NSFW config flags
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 17:19:16 +01:00
Michael Mayer
784fad44b7 Frontend: Refactor photo range selection #159
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 12:39:36 +01:00