Commit graph

2867 commits

Author SHA1 Message Date
Theresa Gresch
6c1cc3c4d8 Frontend: Add classes for testing to components 2020-06-01 17:04:53 +02:00
Theresa Gresch
6eaab57843 Frontend: Add classes for testing to components 2020-06-01 17:04:53 +02:00
Michael Mayer
d580158c3b Backend: Add title capitalization tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 13:31:49 +02:00
Michael Mayer
716012aa8b Backend: Improve labels and title capitalization
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 13:22:19 +02:00
Michael Mayer
973911fabf Backend: Code clean-up and small improvements
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 12:08:08 +02:00
Michael Mayer
cd54bbe7ae Backend: Improve title capitalization
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 11:23:15 +02:00
Theresa Gresch
ad9167360d
Feature/246 (#345)
* Import: Implement "add to album" in backend #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Import: Implement "add to album" in frontend #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Add OriginalName to photo search result

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Add json tags to PhotoName and PhotoPath

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Photo: Use EstimateCountry() in UpdateLocation()

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Photo: Set OriginalName earlier while indexing

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Ignore whitespace when stripping sequence from filename #335

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Fix labels count for SQLite

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Import: Show name of new albums #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Frontend: Add acceptance test files

Co-authored-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 09:45:24 +02:00
Michael Mayer
a1238c94cc Fix photo test after improving location estimate #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 18:19:24 +02:00
Michael Mayer
7e82decbb2 Backend: Improve location list for estimates #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 17:56:39 +02:00
Michael Mayer
68c758a686 Backend: Improve location list for estimates #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 17:45:58 +02:00
Michael Mayer
5c2ae9e698 Backend: Refactor txt package #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 15:17:01 +02:00
Michael Mayer
97cab01e6d Tests: Don't reset main database
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 14:56:26 +02:00
Michael Mayer
14c89022d3 Improve browsing by original file and folder name #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 14:42:41 +02:00
Michael Mayer
f32bbcc108 Config: Update example docker-compose.yml files #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 13:21:12 +02:00
Michael Mayer
1dd465d889 Disable PHOTOPRISM_DETECT_NSFW by default in dev environments
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 12:53:19 +02:00
Michael Mayer
b1f7cb4264 Frontend: Improve navigation and fix unit tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 12:52:41 +02:00
Michael Mayer
23df85375e Originals and import path auto-configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 12:20:32 +02:00
Michael Mayer
4684f66298 Improve storage path auto-configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 11:28:28 +02:00
Michael Mayer
1d8e7f1ad3 Show all months in calendar, even with just one photo #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 11:28:05 +02:00
Michael Mayer
4e214ae202 Set year, month and country for folder albums #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 03:45:38 +02:00
Michael Mayer
065059b4bc Frontend: Disable JS unit tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:51:45 +02:00
Michael Mayer
37ee277599 Frontend: Fix albums view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:33:18 +02:00
Michael Mayer
d0199598d0 Simplify configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Michael Mayer
825c8b31a7 Code clean-up (make fmt)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 21:37:24 +02:00
Michael Mayer
cf05b82732 Fix albums test #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 21:34:42 +02:00
Michael Mayer
946f7967b5 Implement download as zip for moments, calendar and folders #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 21:31:32 +02:00
Michael Mayer
5d92ece264 Albums: Add category filter
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 21:11:56 +02:00
Michael Mayer
ea6ed61d1f Automatically create albums from folders #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 15:42:04 +02:00
Michael Mayer
e79abbfee7 Frontend: Add folders and months to navigation #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 14:56:50 +02:00
Michael Mayer
f713a44668 Dockerfiles: Remove unused ports #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 14:56:07 +02:00
Michael Mayer
0b1bcf0d4a Replace TiDB with SQLite for improved stability #66
As a side effect, we need less configuration values.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 14:52:47 +02:00
Michael Mayer
dd442ab9e9 Add moments #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 01:41:47 +02:00
Michael Mayer
e775c8f910 Metadata: Limit Exif extraction to photos #338
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-29 18:14:43 +02:00
Michael Mayer
9a5d4fa719 Backend: Indexing improvements #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-29 18:04:30 +02:00
Michael Mayer
f6c929528e Locations and places: Revert key renaming
Code reads better this way.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-29 12:56:24 +02:00
Michael Mayer
dcc610d7a9 Use AlbumType to distinguish between manual collections and moments #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-29 12:21:17 +02:00
Sid Karunaratne
2efd419862
Add whitespace in thank you message (#336) 2020-05-29 09:24:09 +02:00
Alex Kay
c5c07d58f9
Fix inconsistent naming for PHOTOPRISM_READONLY (#337)
The actual name used throughout all Docker and YAML config files is `PHOTOPRISM_READONLY`
2020-05-29 09:23:26 +02:00
Michael Mayer
a77b2431d3 Backend: Improve labels, keywords and caching
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-28 21:20:42 +02:00
Michael Mayer
4783183790 Thumbnails: Improve log message
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-28 21:17:23 +02:00
Theresa Gresch
c64f533dd2 Frontend: Add data-uid to elements 2020-05-28 18:01:16 +02:00
Theresa Gresch
4cf06a795f Frontend: Add/refactor acceptance tests 2020-05-28 18:00:54 +02:00
Theresa Gresch
5749b93e0c Frontend: Add/refactor acceptance tests 2020-05-28 17:59:57 +02:00
Theresa Gresch
e65b12ed7a Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:40 +02:00
Theresa Gresch
f9e11211f3 Frontend: Add data-uid to elements 2020-05-28 16:36:39 +02:00
Theresa Gresch
d2dc39c5ff Frontend: Add data-uid to photo elements 2020-05-28 16:36:39 +02:00
Theresa Gresch
6c6224a7e8 Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:39 +02:00
Theresa Gresch
57030d3cc7 Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:39 +02:00
Theresa Gresch
7dff2a032f Frontend: Add classes for testing in details.vue 2020-05-28 16:36:39 +02:00
Theresa Gresch
251f648ee8 Frontend: Add classes for testing in p-photo-search.vue 2020-05-28 16:36:39 +02:00