Commit graph

1820 commits

Author SHA1 Message Date
Theresa Gresch
434948d57a Backend: Add test fixtures for photos 2020-05-01 14:18:51 +02:00
Theresa Gresch
9234c5797a Backend: Add test fixtures for labels 2020-05-01 14:18:50 +02:00
Theresa Gresch
6188c7f736 Backend: Add test fixtures for countries 2020-05-01 14:18:50 +02:00
Theresa Gresch
785d433ba9 Backend: Add test fixtures for cameras 2020-05-01 14:18:50 +02:00
Michael Mayer
743b2dc348 Backend: Downgrade protobuf from v1.4.0 to v1.3.5
Error: invalid type: got uint64, want pointer
Stack trace:
github.com/pingcap/tidb/store/tikv.(*copIteratorWorker).handleTask.func1
	/go/pkg/mod/github.com/pingcap/tidb@v2.1.11+incompatible/store/tikv/coprocessor.go:616
runtime.gopanic
	/usr/local/go/src/runtime/panic.go:969
google.golang.org/protobuf/internal/impl.fieldInfoForScalar
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/internal/impl/message_reflect_field.go:228
google.golang.org/protobuf/internal/impl.(*MessageInfo).makeKnownFieldsFunc
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/internal/impl/message_reflect.go:67
google.golang.org/protobuf/internal/impl.(*MessageInfo).makeReflectFuncs
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/internal/impl/message_reflect.go:36
google.golang.org/protobuf/internal/impl.(*MessageInfo).initOnce
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/internal/impl/message.go:91
google.golang.org/protobuf/internal/impl.(*MessageInfo).init
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/internal/impl/message.go:73
google.golang.org/protobuf/internal/impl.(*messageReflectWrapper).ProtoMethods
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/internal/impl/message_reflect_gen.go:150
google.golang.org/protobuf/proto.protoMethods
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/proto/proto_methods.go:18
google.golang.org/protobuf/proto.UnmarshalOptions.unmarshal
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/proto/decode.go:76
google.golang.org/protobuf/proto.UnmarshalOptions.UnmarshalState
	/go/pkg/mod/google.golang.org/protobuf@v1.21.0/proto/decode.go:63
github.com/golang/protobuf/proto.UnmarshalMerge
	/go/pkg/mod/github.com/golang/protobuf@v1.4.0/proto/wire.go:67
github.com/golang/protobuf/proto.Unmarshal

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 14:05:55 +02:00
Michael Mayer
59f1c0d786 Backend: Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 13:54:47 +02:00
Michael Mayer
b326aae603 Backend: Update additional dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 13:54:01 +02:00
Michael Mayer
eea36826af Backend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 13:32:38 +02:00
Michael Mayer
2c4005c5a2 Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 13:31:17 +02:00
Michael Mayer
e3356aa79b Backend: Don't regenerate existing unique IDs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 12:57:26 +02:00
Michael Mayer
2836d25e1b Backend: Add tests for thumb package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 11:53:41 +02:00
Michael Mayer
d4fefe411b Backend: Add tests for service package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 09:57:38 +02:00
Michael Mayer
b4a04a478f Backend: Set test database using PHOTOPRISM_TEST_DSN
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 22:39:38 +02:00
Michael Mayer
f8de34dac7 Backend: Add account fixtures
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 22:25:53 +02:00
Michael Mayer
c30476f120 Backend: Refactor test db initialization
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 21:21:09 +02:00
Michael Mayer
260cca91fe Backend: Refactor entity package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 20:07:03 +02:00
Michael Mayer
7d840d4a46 Makefile: Don't run Go coverage tests in verbose mode
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 17:00:05 +02:00
Michael Mayer
c06d0c0b9d Backend: Refactor test logs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 16:44:04 +02:00
Michael Mayer
8eb5eab13c Makefile: Add test-parallel target
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 16:43:08 +02:00
Michael Mayer
363b9797be Backend: Refactor classify tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 16:11:27 +02:00
Michael Mayer
0c0bea5ed7 Backend: Add nsfw tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 16:09:05 +02:00
Michael Mayer
953ca55483 Backend: Refactor config tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 16:09:05 +02:00
Theresa Gresch
2fb8a2d547 Frontend: Add new translation tags to dialog/account 2020-04-30 15:44:14 +02:00
Theresa Gresch
6a01d58e52 Frontend: Add new translation tags to settings 2020-04-30 15:34:40 +02:00
Theresa Gresch
139e8acd64 Frontend: Add new translation tags to library 2020-04-30 15:34:10 +02:00
Theresa Gresch
3b3a146848 Frontend: Add new translation tags to components 2020-04-30 15:33:52 +02:00
Theresa Gresch
28cde501da Frontend: Add new translations 2020-04-30 15:33:12 +02:00
Michael Mayer
eaae910014 Backend: Refactor entity tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 14:32:48 +02:00
Michael Mayer
a4357151bb Frontend: Change position of photo edit fields
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 09:38:00 +02:00
Michael Mayer
faa2074e69 Backend: Refactor exif parsing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 16:42:06 +02:00
Michael Mayer
1502838ddb Fix NSFW test
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 16:13:18 +02:00
Michael Mayer
1e05670501 Increase NSFW detector threshold
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 16:12:09 +02:00
Theresa Gresch
426e5a9f9c Backend: Add tests to internal/photoprism 2020-04-29 14:09:44 +02:00
Theresa Gresch
190333f4f5 Backend: Add tests to internal/remote 2020-04-29 13:21:15 +02:00
Theresa Gresch
bacb0f67c3 Backend: Add tests to internal/maps 2020-04-29 13:21:15 +02:00
Michael Mayer
b54c06dea1 Frontend: Remove archive from minimized navigation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 13:19:08 +02:00
Michael Mayer
68b77e1e7d Frontend: Show review info in upload dialog
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 13:07:46 +02:00
Michael Mayer
194e208e31 Backend: Update client info after changing private flag
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 12:42:59 +02:00
Theresa Gresch
c87da2f72f Backend: Add tests to internal/event 2020-04-29 12:37:43 +02:00
Michael Mayer
5f29c0095a Frontend: Make private more visible in the navigation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 12:30:50 +02:00
Theresa Gresch
6a171d88d0 Backend: Add tests to pkg/internal/classify 2020-04-29 11:18:26 +02:00
Theresa Gresch
8b79206de1 Merge remote-tracking branch 'origin/develop' into develop 2020-04-29 11:15:47 +02:00
Michael Mayer
e03c254d1b Backend: Increase threshold for NSFW detection
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 11:07:15 +02:00
Michael Mayer
8a3973aaa2 Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 10:31:00 +02:00
Theresa Gresch
b8416f3d04 Merge remote-tracking branch 'origin/develop' into develop 2020-04-29 10:30:57 +02:00
Michael Mayer
9c72a2168c Frontend: Only show thumbs for which a hash exists
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 10:22:33 +02:00
Michael Mayer
1f3d9ca758 Frontend: Change date tooltip
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 02:49:25 +02:00
Michael Mayer
3da7719728 Backend: Don't use UTC as unknown time zone
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 02:22:59 +02:00
Michael Mayer
8612e22a40 Config: Update docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 00:57:25 +02:00
Michael Mayer
a7cb63b606 Config: Update development docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 00:24:36 +02:00